Z malloc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
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]].

Revision as of 12: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.