Minecraft server RAM: how much do you need?
Player count is a poor guide to Minecraft memory. What the server actually pays for is loaded chunks and the entities in them — so a group of ten crowded into one base is cheaper to host than three friends wandering off in three different directions, each dragging their own patch of world into memory.
Recommendation
You need a server with at least
3GB
- Engine / Base OS:
- 2 GB
- Player Overhead:
- +1.0 GB
- Estimated Raw Usage:
- 3 GB
- Suggested cores:
- 2
- Disk to allow:
- 10 GB+
Almost entirely single-threaded. A high clock speed beats extra cores, and no number of cores fixes a low-clock CPU.
View 3GB PlansAdvertisement
What uses the memory in Minecraft
Everything comes down to the Java heap. A small group on vanilla or Paper sits happily in 2-4 GB. Modpacks are a different calculation altogether: a 200-mod pack registers thousands of blocks, items and recipes during startup and wants 8 GB before anyone has logged in. View distance scales all of it, and cutting it from 12 to 8 frequently frees more memory than an extra gigabyte would add.
Advertisement
Where people get it wrong
Handing the entire machine's memory to the JVM. The operating system and Java's off-heap allocations need room outside the heap, and a heap that is too large makes each garbage-collection pause longer rather than shorter. Players do not experience that as more capacity; they experience it as lag spikes on a timer.