1. Hello Guest! It's with a heavy heart that we must announce the removal of the Legacy GMC Archive. If you wish to save anything from it, now's the time! Please see this topic for more information.
    Dismiss Notice

GMS 2 Memory Allocation Crash?

Discussion in 'Programming' started by Neptune, Dec 1, 2019.

  1. Neptune

    Neptune Member

    Joined:
    Jun 21, 2016
    Posts:
    1,042
    I keep having a fatal error like this... Not necessarily from the same thing.
    Allocating 1mb doesnt seem like too much, can anyone explain why this may be happening?
    Any info appreciated :)
    Code:
    FATAL ERROR in
    action number 1
    of Create Event
    for object o_render_parent:
    
    Memory allocation failed: Attempting to allocate 1048600 bytes
     at gml_Object_o_render_parent_Create_0 (line 12) - sector_active = false;
     
  2. samspade

    samspade Member

    Joined:
    Feb 26, 2017
    Posts:
    2,121
    Post the code at that point.
     
  3. Neptune

    Neptune Member

    Joined:
    Jun 21, 2016
    Posts:
    1,042
    Bah there is nothing interesting at that point, just some instance variables.
    There is a whole lot of data-structure what-nots before that line above would be running though o_O
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice