Project Zomboid Server RAM Requirements (Build 41 vs Build 42)
How much RAM does a Project Zomboid server actually need? The answer depends on three things: build (B41 vs B42), player count, and modlist. This guide gives concrete numbers from real production servers โ not theoretical estimates โ so you can plan correctly without overpaying.
Quick answer: B41 vanilla 4-player = 4 GB. B42 vanilla 4-player = 6 GB. Add ~1 GB per 4 extra players, ~2 GB for moderate mods, ~4+ GB for heavy mods.
Build 41 RAM table
These are stable benchmarks for B41 servers (B41 is what most servers still run):
| Setup | Players | Mods | RAM minimum | RAM recommended |
|---|---|---|---|---|
| Vanilla small | 1โ4 | None | 3 GB | 4 GB |
| Vanilla medium | 4โ8 | None | 4 GB | 6 GB |
| Vanilla large | 8โ16 | None | 6 GB | 8 GB |
| Light modded | 4โ8 | <10 mods | 6 GB | 8 GB |
| Heavy modded | 4โ8 | 30+ mods (Brita's, ORGM, etc.) | 8 GB | 12 GB |
| Heavy modded large | 16+ | 30+ mods | 12 GB | 16 GB |
Build 42 RAM table
B42 is heavier across the board โ basements, taller buildings, and the new crafting/animal systems all consume more memory. Add roughly 2 GB to every B41 number:
| Setup | Players | Mods | RAM minimum | RAM recommended |
|---|---|---|---|---|
| Vanilla small | 1โ4 | None | 4 GB | 6 GB |
| Vanilla medium | 4โ8 | None | 6 GB | 8 GB |
| Vanilla large | 8โ16 | None | 8 GB | 12 GB |
| Light modded | 4โ8 | <10 mods | 8 GB | 12 GB |
| Heavy modded | 4โ8 | 30+ mods | 12 GB | 16 GB |
| Heavy modded large | 16+ | 30+ mods | 16 GB | 20 GB+ |
The Indie Stone currently caps recommended B42 multiplayer at 20 players while it's in stress-test on the unstable branch. Don't plan beyond that.
What actually drives RAM usage
Three factors:
- Map exploration. Project Zomboid streams chunks into memory as players visit them. A server where players stayed in 2 cities will use 30-40% less RAM than one where they've explored half the map.
- Active zombies. Zombies are persistent objects with state.
PopulationPeakMultiplier=2.0instead of1.5adds roughly 20-30% RAM. - Mods. Some mods (Common Sense, ModOptions) are essentially free. Others (Brita's Weapons, Vehicle Recycling, ORGM) load thousands of items into memory. Brita's alone often adds 1-2 GB.
How RAM is configured on Pterodactyl
DoomHosting (and any Pterodactyl panel) sets max RAM at the container level. Project Zomboid's JVM args are wired in the egg startup so the server uses what's allocated to the container โ you don't manually set -Xmx flags.
If you upgrade or downgrade your plan, the container restart applies the new memory limit immediately. No config edit required.
Why "minimum" can crash your server
Project Zomboid's memory usage isn't flat โ it spikes during events:
- Helicopter event spawns hundreds of zombies โ +500 MB transient
- Player explores a fresh city โ +1-2 GB as chunks stream in
- Multiple players save at once โ temporary write buffer spike
If you sit at 95%+ of your minimum RAM during normal play, these spikes will OOM the server. Recommended values include headroom for spikes โ pay for them.
Use the calculator
For a tailored estimate based on your specific player count, mods, and world size, use the Project Zomboid RAM Calculator. It accounts for the variables above and outputs a sized plan recommendation.
Symptoms of insufficient RAM
| Symptom | Meaning |
|---|---|
| Server crashes after 30-60 min uptime | OOM (out of memory) โ increase RAM |
| Players experience "rubber-banding" / position resets | Memory pressure causing GC pauses |
| Zombies vanish/reappear erratically | Chunk eviction from memory due to pressure |
| Save takes minutes instead of seconds | Disk thrashing from swap, not enough actual RAM |
Server console shows java.lang.OutOfMemoryError |
Definitive โ bump RAM immediately |
Symptoms of overpaying
If you're sitting at 30% RAM usage during peak hours with no crashes, you're paying for headroom you don't need. Drop one tier and monitor for a week.
CPU matters too โ don't just throw RAM at it
A common misdiagnosis: server is laggy, owner adds RAM, lag persists. RAM only fixes OOM-related issues. If your CPU is pegged (which is common with heavy modlists or 16+ players), more RAM does nothing. PZ is single-threaded for the main game loop, so single-core performance dominates โ a 3.8 GHz Ryzen 9 destroys a 4-core 2.4 GHz Xeon for PZ even though "specs" look similar.
FAQ
Will giving the server too much RAM hurt performance? Slightly โ Java's garbage collector takes longer to walk a bigger heap. The sweet spot is recommended values + 20% headroom. Way over-provisioning (e.g. 32 GB for a 4-player vanilla) actually increases GC pause times.
Should I tell players to clear their local cache?
That's their mod cache (%USERPROFILE%/Zomboid/mods/) which doesn't affect the server. Server-side caches live in /home/container/Zomboid/.
Does B42 multiplayer use more RAM than singleplayer B42? Yes, much more. A B42 SP world might fit in 4 GB; the same world with 4 players easily needs 6-8 GB on the server because each player loads chunks around them simultaneously.
My modlist mostly works on B41. Will RAM needs jump if I upgrade those mods to B42? Likely yes. Many mods got rewritten for B42 with more features and bigger asset sets. Plan +2 GB on top of your B41 modded budget when migrating.
