Z malloc

From Valve Developer Community
Revision as of 11:45, 11 August 2023 by Pee (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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.