#15 Memory Leak

open
ET-XreaL (17)
6
2011-07-10
2011-07-10
mew4
No

Z_Malloc: failed on allocation of 16777240 bytes from the main zone

This Error is Recurring Allot, Even With Hunkmegs @ 1024 - This looks like a Memory Leak, This is also Occured in UrbanTerror Branch of Xreal
http://www.urbanterror.info/forums/topic/25072-bug-reports-engine-networking/page__p__297702#entry297702 and they Confirmed its a leak in the Engine Somewhere.

///

...loading 2 lightmaps
...loading external lightmap 'maps/wf_temple_b14/lm_0000.png'
...loading external lightmap 'maps/wf_temple_b14/lm_0001.png'
...loading planes
...loading surfaces
----- CL_Shutdown -----
RE_Shutdown( destroyWindow = 1 )
------- R_ShutdownImages -------
------- R_ShutdownVBOs -------
------- R_ShutdownFBOs -------
------- GLSL_ShutdownGPUShaders -------
Shutting down OpenGL subsystem
...wglMakeCurrent( 01010056, 00000000 ): success
...deleting GL context: success
...releasing DC: success
...destroying window
-----------------------
----- Server Shutdown -----
==== ShutdownGame ====
---------------------------
Z_Malloc: failed on allocation of 16777240 bytes from the main zone
///

Discussion

  • mew4
    mew4
    2011-07-10

    • priority: 5 --> 6
     
  • Seems like it wants to allocate 16 Megs from Zone and not Hunk Memory.

    I need a full hunk and zone log. Compile the engine in debug mode and start the engine with +set developer 1 +set logfile 2.