See https://www.atari-forum.com/viewtopic.php?p=444500&sid=de5eec694a4cabb1cc3b696227a883dc#p444500
While it's clear that the game / engine must be optimised to avoid that many malloc / free calls, maybe it's still worth considering to replace the allocator with something modern / more flexible?