OpenArena Message Boards

OpenArena => Technical Snafus => Topic started by: JoeSox on March 24, 2012, 11:51:33 AM



Title: Bug?: Server fatal crashed: Z_Malloc: failed on allocation of 23072 bytes from
Post by: JoeSox on March 24, 2012, 11:51:33 AM
Playing CTF Elimination game; 8 capture limit, 11 bots, single player skirmish. OperationMetro Map (dev .map link:  http://www.mediafire.com/?wei8hp55ra4kvw9 (http://www.mediafire.com/?wei8hp55ra4kvw9))
This is the second time I received an error, I think it was only on this gameplay type, I can't remember.

The error exception output is attached.


Title: Re: Bug?: Server fatal crashed: Z_Malloc: failed on allocation of 23072 bytes from
Post by: sago007 on March 24, 2012, 12:36:20 PM
I experienced the same while working with http://openarena.ws/board/index.php?topic=2837.0

The error suggest that the engine runs out of zoneMegs. This seems to happen if a large amount of data needs to be transmitted very quickly and it seems to happen more often the more bots and the larger map. I have a theory that the reason the engine only adds one bot every ten seconds with bot_minplayers is to not trig this error.


Title: Re: Bug?: Server fatal crashed: Z_Malloc: failed on allocation of 23072 bytes from
Post by: grey matter on March 25, 2012, 07:45:07 AM
You can work around this error by +set com_zoneMegs X, where X is some value higher than the default of 24. This only works at startup, so you might need to edit your OA launch script.