Guides / RAM
How much RAM does a Minecraft server need?
Clear RAM numbers for vanilla, Paper and modded Minecraft servers, by player count, and what changes them.
Updated
Most small Minecraft servers need far less RAM than people expect. A vanilla or Paper server for a group of friends runs well on 2–4 GB. What pushes the number up is mods, player count and view distance, in roughly that order.
Quick answer
- Vanilla or Paper, up to 10 players: 2–4 GB
- Paper, 10–30 players with plugins: 4–6 GB
- Light modpack (under ~50 mods): 4–6 GB
- Medium modpack (~50–150 mods): 6–10 GB
- Heavy modpack (150+ mods): 8–12 GB or more
For your exact setup, use the RAM calculator. It shows the number and what drove it.
What actually uses the memory
The server software
Java, the server jar and the loaded spawn area take 1.5–3 GB before anyone joins. Mod loaders like Forge and NeoForge start higher than vanilla.
Mods and plugins
Every mod adds blocks, items, entities and code that all stay loaded. This is why a heavy modpack can need three times the RAM of vanilla with the same players. Plugins are much lighter, but large plugins like dynamic maps add up.
Players and view distance
Each player keeps the chunks around them loaded. At the default view distance of 10, that's 441 chunks per player. At 16 it's 1,089. That's why lowering view distance is the cheapest performance fix there is.
Don't buy more than you need
Extra RAM past what the server uses does nothing, and very large heaps can make Java's garbage-collection pauses longer. Over 12 GB rarely helps a server without mods. See can you give a server too much RAM.