Skip to content

Server memory

How much RAM does a Minecraft server need?

For a Paper server with friends, 2 GB is often enough for 1 or 2 players, and 4 GB suits most groups of up to 10 players with a few plugins. Modded servers usually need far more. Past that point, extra memory rarely helps: CPU speed is what decides whether the game lags.

RAM is the server's working memory: it holds the parts of the world loaded around players, the mobs, the items on the ground, and whatever the plugins are tracking. Too little and the server crashes or freezes; far too much and you pay for memory that sits idle. Here are careful rough figures, what really drives memory use up, and how to check on your own server.

  • A table by player count and server type
  • Why the CPU often matters more than RAM
  • Why too much RAM does not make a server faster
  • How to measure the memory your server actually uses

How much RAM by player count

There is no universal number: two servers with the same player count can use twice as much memory as each other depending on view distance, how much of the world has been explored, and which plugins are installed. The table below gives the rough figures you will find across most guides and hosts. It is not a Minax measurement: it is a starting point, to adjust once you watch your server run.

Three kinds of server come up again and again. A nearly bare Paper server (plain survival, with no or very few plugins). A Paper server with plugins: claims, economy, minigames, ranks. And a modded server (Fabric, NeoForge, or a modpack), which adds blocks, mobs and whole systems, and uses far more.

Nearly bare PaperPaper with pluginsModded server
1 to 2 players2 GB2 to 3 GB4 to 6 GB
3 to 10 players2 to 4 GB4 GB6 to 8 GB
11 to 20 players4 to 6 GB6 GB8 to 10 GB
20+ players6 to 8 GB8 GB or more10 GB or more

Common rough figures, not a Minax measurement and not a guarantee. A large modpack can need much more than this table.

What actually drives memory use up

Player count matters, but mostly because each player loads the world around them. Two friends building side by side load nearly the same area; two friends exploring in opposite directions load two areas. View distance (view-distance in server.properties) multiplies all of it: raising it from 10 to 16 loads more than twice as much terrain around each player.

Next come entities: mobs, farm animals, dropped items, minecarts. A badly tuned mob farm or a pen of two hundred cows weighs more than ten extra players. Plugins add their own data, usually modest, sometimes a lot when they keep big lists in memory (world maps, block logs, statistics).

Then mods: each one brings code, blocks and items, and a modpack with hundreds of mods already starts at several gigabytes before anyone joins.

  • View and simulation distance, the first setting to check
  • Spread-out players, each loading their own area
  • Entities: farms, pens, items on the ground
  • Mods, far more than plugins

Why the CPU often matters more than RAM

A Minecraft server updates the world 20 times per second. Each update is a tick, and the number of ticks completed per second, the TPS, has to stay at 20 for the game to feel smooth. Most of that work runs on a single CPU core. When that core cannot keep up, TPS drops: blocks take a while to break, mobs teleport, and everyone says the server is lagging.

More memory does not fix that kind of slowdown. A server with 8 GB of RAM and a slow CPU will lag more than one with 4 GB and a fast core. That is why, from about 4 GB for a small group, CPU quality is often the real limit. Paper already moves some work off that main core (world loading, for instance), and Folia, a variant of Paper, goes further by spreading the world across several cores, but it needs plugins written for it.

When the server lags, look at TPS and what is eating it before you buy more memory.

  • 20 ticks per second, mostly computed on one core
  • Lag that comes from the CPU does not go away with more RAM
  • Check TPS before changing memory

Too much RAM is wasted (and can even get in the way)

Minecraft runs on Java, and Java does not tidy its memory continuously: it fills it, then runs a big clean-up (garbage collection) when it needs to. Giving it much more than it needs does not make the server faster. The extra memory sits reserved and unused, and on a PC it is taken away from the system, and from the game itself if you play on the same machine.

On your own PC, always keep a margin: if your machine has 16 GB, do not hand 14 to the server. The Paper documentation offers a ready-made set of startup settings known as Aikar's flags, which tune that clean-up well for a Minecraft server; it also recommends setting the minimum and maximum memory (the -Xms and -Xmx options) to the same value.

With a host, memory is usually what sets the price. Taking 2 GB more than you need means paying for nothing every month. Start lean, measure, and step up only if the server really needs it.

  • Java keeps the memory you give it, needed or not
  • On a PC, leave room for the system
  • Start lean, measure, step up if needed

One figure measured at Minax, dated and explained

On 03/09/2026, on the machine that runs our test server, a Paper 26.2 server that had just started, with no players connected, was using about 1.95 GB of memory. It is the only figure on this page that Minax measured.

Read it with care. It says what the process was using that day, not the absolute minimum Paper needs: since Java happily holds on to the memory it is allowed, a server set up with more headroom would have used more. What it does show is useful: a recent server already sits around 2 GB when empty, before the first player and the first plugin. That is why 1 GB is too tight for a modern Paper server.

What Minax does: the size is picked for you

Minax builds plugins, and can also host your server: that is My own server, in the Play tab of your project. Your Minecraft Java server (Paper) starts with your project's plugin already installed. Creating it is free; play is paid with purchased credits, only while the server is on, with no subscription.

There are four sizes. Minax picks yours from the number of players you want, the number of plugins and datapacks, and the size of your plugin and your world, and you can change it. The price follows the memory: the bigger the server, the shorter one credit lasts.

The server turns itself off after 10 minutes with no players, and your world is kept between games. Spots are limited: when every server is taken, try again later. And you can always download your .jar to install it at home or with the host of your choice.

PlayersMemoryWhat 1 credit gives you
Small1 to 22 GB5 h of play
Medium3 to 104 GB2 h 30 of play
Large11 to 206 GB1 h 40 of play
Extra largeLots of players and heavy plugins8 GB1 h 15 of play

My own server sizes as of 17/11/2026. Only purchased credits count for hosting. Credit prices are on the pricing page.

How to measure your server's RAM

The most reliable method is to watch your own server during a real evening of play. Since 1.21, Paper ships with spark, a widely used profiler, so there is nothing to install. The /spark health command shows memory used, TPS and CPU load. The /spark profiler start command records for a while and, once stopped, gives you a link to a report showing what costs the most (a plugin, a farm, world loading).

Without spark, the console already gives clues: a "Can't keep up!" message means the CPU is struggling, and an OutOfMemoryError means memory really is too tight. On a PC, the task manager also shows how much the Java process is using.

Measure at the worst moment: everyone online, spread out, farms running. If memory used stays well below the maximum, you do not need more. If it sits at the ceiling and the server freezes now and then, go up a step.

  • /spark health: memory, TPS, CPU
  • /spark profiler start: what costs the most
  • "Can't keep up!": the CPU is falling behind
  • OutOfMemoryError: memory really is short

Cut memory use before paying for more

Before buying more memory, a few free settings often make the difference. Lower view distance to 8 or 10 and simulation distance to 6 or 8: players see a little less far and the server breathes much better. Pre-generate the play area with a pre-generation tool so the world is not created mid-game. Keep giant farms and piles of dropped items in check.

On the plugin side, a few well-made plugins beat a stack of plugins that all do roughly the same thing. A custom plugin that does exactly what your server needs can replace three general-purpose ones. With Minax you describe what you want in plain English and get a compiled plugin with its source code.

Frequently asked questions

Is 2 GB of RAM enough for a Minecraft server?

For 1 or 2 players on a Paper server with few plugins, often yes. Beyond that, or with heavier plugins, 4 GB is more comfortable. For a modded server, 2 GB is almost always too little.

How much RAM for a Minecraft server with 10 friends?

Around 4 GB for a Paper server with a few plugins, as a rough figure. A modded server will need more like 6 to 8 GB. Measure during a real session to adjust.

Does more RAM reduce lag?

Rarely. Most lag comes from the CPU, which updates the world 20 times per second on a single core. If memory is not full, adding more changes nothing.

How much RAM does a modded Minecraft server need?

Much more than Paper: often 6 GB and up, and large modpacks need more. Check what the modpack author recommends, it is the best source for a specific pack.

Which size does Minax pick for my server?

My own server picks one of four sizes (2, 4, 6 or 8 GB) from the number of players you want, your plugins, datapacks and world size. You can change the size yourself.

How do I check how much RAM my server uses?

On Paper, type /spark health in game or in the console: spark ships with Paper since 1.21. On a PC, the task manager also shows the Java process memory.

Ready to build your Minecraft plugin?

Describe it in plain English, get a compiled .jar. No Java required. Your account is free. Credits paid once, no subscription: 28 credits for €9.99 (Iron) VAT included.

Build my plugin