Failed Allocations and Out of Memory
Tags: memory, allocations, performance, server
Failed allocations usually mean the server ran out of memory or hit heavy fragmentation. Tuning your world and player limits can stabilize it quickly.
Quick fixes
- Restart the server to clear memory fragmentation.
- Reduce max players temporarily and test stability.
- Lower view distance and zombie counts for big horde nights.
Server memory checklist
| Setting | Impact | Recommendation |
| World size | High | Use smaller maps for low RAM hosts. |
| MaxSpawnedZombies | High | Reduce during peak hours. |
| MaxSpawnedAnimals | Medium | Lower if memory spikes. |
| View distance | Medium | Keep moderate for stability. |
Storage and paging
- Run the save on SSD storage to reduce stalls.
- Keep free disk space for save growth and log files.
- Remove heavy mods that increase world data size.
Related Articles