Skip to content

Black Friday sale55% off your first month on every game server with code TAKE55

Shop the sale
RAMShard

How Much RAM Does a Minecraft Server Need?

RAM is the first choice you make when you order a Minecraft server. Here is how to size it from your player count, your mods and your world.

RAMShard Team2 min read
A Minecraft landscape

Memory is the number most people look at first when they pick a Minecraft server plan. Too little and the server stutters or crashes. Too much and you pay for headroom you never touch. This guide gives you a starting point and shows you how to adjust it.

What uses the memory

Three things decide how much RAM a Minecraft server needs:

  • Loaded chunks. Every player keeps the area around them in memory. More players, or players who spread out, means more chunks.
  • Mods and plugins. A modpack adds blocks, items, machines and whole dimensions. All of them live in memory.
  • Entities. Mob farms, item drops and villagers add up, especially on survival servers that have run for months.

Player count on its own tells you little. Five players on a heavy modpack can need more memory than thirty on a vanilla world.

Starting points

Treat these as places to start, then watch how your own server behaves.

ServerPlayersRAM to start with
Vanilla or Paper, few plugins1 to 102 to 3 GB
Paper with a full plugin set10 to 304 to 6 GB
Light modpack1 to 104 to 6 GB
Large modpack1 to 108 GB or more

Modpack authors often publish a recommended amount. When they do, use their number over any table.

Settings that lower memory use

Two lines in server.properties change how much of the world the server keeps loaded for each player:

view-distance=8
simulation-distance=6

Lower values mean fewer loaded chunks. Most players do not notice a view distance of 8, and it gives a busy server room to breathe.

Pre-generate the world

Generating new terrain is the most demanding thing a server does. If your players explore a lot, generate the map ahead of time with a pre-generation plugin or mod, so the server only has to load chunks later.

How to tell you need more

Look for these signs before you upgrade:

  1. The console prints "Can't keep up!" during normal play.
  2. Memory use stays near the limit after a restart, with only a few players online.
  3. The server crashes with an out-of-memory error.

Lag is not always a memory problem. A single huge mob farm or redstone machine can slow a server that has plenty of RAM free.

Pick a plan and adjust

Start with the amount from the table and play for a few days. If the server runs well, you are done. If it struggles, move up one size. You can see every size on the Minecraft server hosting page.

« All articles

Ready to start your own server?

Pick a game and be online in about a minute.