Improve Server Performance
Optimize your Project Zomboid server for better performance, less lag, and smoother gameplay with these tuning tips.
A well-tuned Project Zomboid server provides a much better experience for players. This guide covers the most effective ways to reduce lag and improve performance.
RAM Allocation
The most common cause of server lag is insufficient RAM.
Recommended RAM by Player Count
| Players | Minimum RAM | Recommended RAM |
|---|---|---|
| 1–8 | 4 GB | 6 GB |
| 8–16 | 6 GB | 8 GB |
| 16–32 | 8 GB | 12 GB |
| 32+ | 12 GB | 16 GB |
📝 Note: Mods significantly increase RAM usage. Heavily modded servers may need 2–4 GB more than the above recommendations.
On XGamingServer, you can upgrade your RAM allocation from your panel's billing section.
Reduce Zombie Population
Zombies are the single biggest factor in server performance. Reducing their count can dramatically improve FPS and reduce lag.
Lower zombie count
ZombieCount = 4,
PopulationMultiplier = 0.5,
PopulationPeakMultiplier = 1.0,See Zombie Settings for a full breakdown.
Optimize Sandbox Settings
These settings have the biggest impact on performance:
| Setting | Performance Tip |
|---|---|
ZombieCount | Lower = better performance |
PopulationMultiplier | Reduce below 1.0 |
RespawnHours | Higher = fewer respawn calculations |
NightLength | Shorter nights = less zombie activity processing |
ErosionSpeed | Higher values = more calculation, set to 3 for balance |
Reduce Mod Count
Mods add both RAM and CPU overhead. Every active mod increases:
- Memory usage
- Startup time
- Per-tick processing
Tips for Mods
- Remove mods that aren't actively being used
- Avoid multiple mods that do similar things
- Test performance with mods disabled to identify problematic ones
- Keep your mod list under 30 for best performance on moderate hardware
Server Configuration Tweaks
Edit your server config file at Zomboid/Server/[servername].ini:
PauseEmpty
PauseEmpty=truePauses the server when no players are connected, saving resources.
Reduce Loot Respawn Frequency
Frequent loot respawning adds CPU load:
HoursForLootRespawn = 720,Lower Vehicle Spawn Rate
Vehicles are resource-intensive entities:
CarSpawnRate = 2,Monitor Server Performance
Check Console Output
Use the Console in your panel to monitor:
- Memory usage warnings
- Tick rate drops
- Error messages
Use Admin Commands
In-game, use these commands to check performance:
/showoptions
/playersSigns of Poor Performance
| Symptom | Likely Cause |
|---|---|
| Rubber-banding | Low server TPS, high zombie count |
| Long loading times | Too many mods, insufficient RAM |
| Frequent disconnects | RAM running out, server crashing |
| Zombie pop-in | High population settings |
| Desync between players | Network congestion, too many entities |
Quick Performance Checklist
- Ensure adequate RAM for your player count
- Set
PauseEmpty=true - Reduce zombie population if lagging
- Remove unused mods
- Increase loot respawn hours
- Reduce vehicle spawn rate
- Monitor console for errors
Related Guides
See also: Zombie Settings | Configure Your Server | Troubleshooting
If you need help, join our Discord.
How is this guide?
