Z malloc

From Valve Developer Community
Revision as of 19:38, 15 March 2013 by Maxkorz (talk | contribs)

Jump to: navigation, search

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.