Difference between revisions of "Z malloc"

From Valve Developer Community
Jump to: navigation, search
m (Possible solution)
 
Line 3: Line 3:
 
Z_Malloc is an exit error that occurs whenever an overflow in the engine exceeds a designated heap size for the game. The engine tries to render everything but overbounds itself on its allocated memory array, and disgracefully crashes.
 
Z_Malloc is an exit error that occurs whenever an overflow in the engine exceeds a designated heap size for the game. The engine tries to render everything but overbounds itself on its allocated memory array, and disgracefully crashes.
 
== Possible solution ==
 
== Possible solution ==
Use higher values for '''-heapsize #''' and '''-zone #''' in [https://developer.valvesoftware.com/wiki/Command_Line_Options Launch Options].
+
Use higher values for '''-heapsize #''' and '''-zone #''' in [[Command_Line_Options|Launch Options]].

Latest revision as of 19:44, 15 March 2013

z_malloc failed on allocation of xxx bytes

Z_Malloc is an exit error that occurs whenever an overflow in the engine exceeds a designated heap size for the game. The engine tries to render everything but overbounds itself on its allocated memory array, and disgracefully crashes.

Possible solution

Use higher values for -heapsize # and -zone # in Launch Options.