Fix for stack/heap collision

Fix for stack/heap collision if a lot of players are online in the server.