Server Admin Tools
Minecraft Server RAM Calculator
Calculate estimated RAM and Java heap settings based on players, plugins/mods and worlds.
simulation-distance can't be greater than view-distance; view-distance was used in the calculation.
Recommended RAM range (Java heap)
– GB
- -Xms / -Xmx
- OS overhead
- Total server/VPS memory
- Per player (estimate)
These values are estimates; plugin quality, farm/redstone load and player behavior change real usage. No specific player capacity is guaranteed. Measure with spark and tune your server.
CPU, not RAM, may be the bottleneck
The server's main tick loop runs on a single core. For 20 TPS each tick must finish within 50 ms; servers that exceed this will lag no matter how much RAM they have. High-clock, current-generation CPUs (high single-core scores) matter more than many slow cores.
Use Paper/Purpur, keep simulation-distance low, pre-generate the world (Chunky) and limit entity counts.
How to use
RAM needs depend mostly on the number of loaded chunks (players × view distance), the amount of mods/plugins and the number of worlds. The tool derives an estimated range from these values and shows a Java heap (-Xms/-Xmx) recommendation and the headroom to leave for the operating system. Actual usage varies with plugin quality and player behavior.
- Choose your server software.
- Enter the expected concurrent players, plugins/mods and worlds.
- Set the view and simulation distance and review the recommended range.
Frequently Asked Questions
Is more RAM always better?
No. A heap far larger than needed can make the garbage collector (GC) pause longer. Going above the recommended range usually doesn't help; lag is mostly CPU-bound.
Why does single-core CPU performance matter?
A Minecraft server's main game loop (tick) runs on a single thread. Although Paper parallelizes some work, per-core speed is the main factor in TPS; many-core but slow CPUs usually perform poorly.
Should -Xms and -Xmx be the same?
On a dedicated server, setting -Xms and -Xmx to the same value avoids pauses caused by the heap growing later. Aikar's G1GC flags are a common, reliable starting point for Paper.