Skip to content

Enshrouded 1.0 is out! 🎉 Get 50% OFF your next Enshrouded Server today!

PerformanceMinecraft

How much RAM does my Minecraft server need?

Size your Minecraft server's RAM for your players, software and mods, see what we measured on our own servers, and why it rarely shows as fully used.

Updated 8 min read

RAM holds everything your server keeps live: the chunks loaded around each player, player data and every mod or plugin. Too little brings lag spikes and crashes, and too much only adds to the bill. Your server software and mods set most of the figure, and each player adds a little on top.

How much RAM per player?

Each player adds roughly 50 to 75 MB, depending on the server software. Most of the memory goes on what the server needs before anyone joins: about 1 GB for Vanilla, 1.25 GB for Paper or Purpur, 1.5 GB for Fabric and 2 GB for Forge or NeoForge. Mods add to that base, around 20 MB each on Fabric and 50 MB each on Forge or NeoForge, so a large modpack with 2 players can need more RAM than a plain server with 30.

The calculator on this page starts from those figures, adds 25% headroom and rounds up to the next 0.5 GB. How many players can your Minecraft server hold per GB of RAM? turns these figures into players per GB and shows how view distance changes the count.

How much RAM for 10 players?

For 10 players, the calculator recommends 2 GB on Vanilla, 2.5 GB on Paper before plugins and 3 to 3.5 GB on a light Fabric pack, while Forge and NeoForge packs start at 7.5 GB. The full set:

Setup5 players10 players20 players
Vanilla2 GB2 GB2.5 GB
Paper, before plugins2 GB2.5 GB3.5 GB
Fabric, 1 to 20 mods2.5 GB3 GB4 GB
Fabric, 20 to 40 mods3 GB3.5 GB4.5 GB
Forge or NeoForge, 40 to 80 mods7 GB7.5 GB8 GB
Forge or NeoForge, 80 to 150 mods10 GB10.5 GB11.5 GB

Plugins aren't counted, so leave some room above the Paper row if you run a long plugin list.

The calculator counts any pack over 150 mods as about 175, so a bigger pack needs more than it shows. If your pack is one of the one-click modpacks on the modded Minecraft server hosting page, start from the RAM shown on its card, which is set for that pack's own mods.

What we measured on our own servers

We booted each setup on our servers on 14 October 2026 (Minecraft 1.21.1, nobody online) and read the RAM Usage card once the console printed Done:

SetupPlanRAM in use after boot
Vanilla4 GBabout 740 MB
Fabric4 GBabout 790 MB
Fabric with Fabric API, Lithium and Chunky4 GBabout 800 MB
Forge with JEI4 GBabout 805 MB
Cobblemon modpack (36 server-side mods)4 GBabout 1.85 GB, and 2.2 GB with 1,024 chunks loaded
Cobblemon modpack8 GBabout 2.5 GB, and 2.9 GB with 1,024 chunks loaded

These are floors, not budgets: every player brings chunks, mobs and their own data, and Java needs room to clear out old objects, which is what the figures further up allow for. The two Cobblemon rows show the other half of it: the same pack in the same state used more on the bigger plan, because Java grows into the memory it's given rather than holding to what it strictly needs. That is also why a server rarely looks like it's using all its RAM (see below).

Work it out for your exact setup

Set the Player count, the Server software and, for Fabric, Forge or NeoForge, the Mod load:

1Player count
10
150100150200
2Server software
Server type

Paper / Purpur run plugins (lightweight). Fabric / Forge / NeoForge run mods (heavier).

The calculator checks CPU as well as RAM, so a busy modded server can be matched to a bigger plan than its RAM figure alone suggests. The same tool has its own page, the Minecraft server RAM calculator, with a players-per-GB table.

Is 4 GB enough?

For most servers without mods, yes. By the calculator's count, 4 GB covers about 45 players on Vanilla and about 33 on Paper before plugins. A Fabric pack of 20 to 40 mods fits about 19 players on RAM alone, but the calculator also counts the CPU those mods use, and from 2 players that points to a bigger plan than 4 GB. Forge and NeoForge packs of 40 or more mods need more than 4 GB even with nobody online.

Signs your server needs more RAM

  • The console prints Can't keep up! Is the server overloaded? while the RAM Usage card on the Console tab sits near its limit.
  • Players see block lag, such as broken blocks reappearing, even with good ping.
  • The server crashes with java.lang.OutOfMemoryError in the console or a crash report.
  • The console shows Your server crashed with no Java error before it. Open Download Log, choose Last hour and search the file for Out of memory: true. The on-screen console hides that line, and true means the server went over its plan's memory limit.

If you see any of these, move to a bigger plan (the calculator below suggests a size) and check whether they stop.

Tip

Memory and loaded entities build up over a long uptime. The Nightly restart with warnings preset in the Schedules tab restarts the server once a day, after a 5-minute in-game warning.

My server is not using all its RAM

The RAM Usage card on the Console tab often sits well below the plan's total. That's normal, for two reasons:

  • Java starts small and grows. Each start reserves only part of the maximum heap (Java's working memory), at least 512 MB, and Java claims more as players load chunks.
  • Part of the plan is held back on purpose. Java also uses memory outside its heap, so the heap is capped below the plan size: 10% of the plan stays free, at least 512 MB and at most 1.5 GB. On a 4 GB plan, that leaves a maximum heap of 3.5 GB. Without that gap, the server could be stopped for going over its memory limit.

To see the figures for your plan, open the JAR Manager tab (in the More group of the left rail) and expand Performance - auto-tuned. It lists the maximum heap (Xmx), the starting heap (Xms) and the headroom. The card is locked because the values are worked out from your plan every time the server starts.

How to allocate more RAM to your server

  1. Open Billing (/dashboard/billing). The Plan and game card in the server's Settings tab opens the same window.
  2. On the server's subscription, choose Actions, then Change plan.
  3. Pick a bigger plan, or add memory to your current plan with Additional RAM. Additional RAM doesn't add CPU, so if the calculator picked a bigger plan for CPU, choose that plan instead.
  4. Select Continue. The Review step shows today's charge, prorated for the days left in the billing period. Enter your account password and select Switch to followed by the plan's name.
  5. Select Restart now, or restart later. The new RAM takes effect when the server starts, and the RAM Usage card on the Console tab then shows the new total.
Note

A plan change only resizes the server, so your world, files and settings stay as they are. Switching game is different: it reinstalls the server and wipes its world, so take a backup first.

A cheaper plan starts at your next renewal, and nothing is charged today.

Frequently asked questions

Do I need to add Aikar's flags or other JVM arguments?

No. Every start applies Aikar's flags and a heap sized to your plan, and both are locked. The script that launches the server, start.sh, is managed for you, so it doesn't appear in the File Manager.

Is 8 GB enough for a modded server?

For a Forge or NeoForge pack of 40 to 80 mods, yes: the calculator fits about 20 players in 8 GB. Packs of 80 mods or more need at least 10 GB with nobody online.

Is 2 GB enough for a Minecraft server?

For a small group without mods, yes. The calculator puts 2 GB at about 12 players on Vanilla and 5 on Paper, and any Fabric, Forge or NeoForge setup with mods asks for more.

Will more RAM fix lag?

Only when memory is short. If the RAM Usage card stays well below its limit while the server lags, check the Ticks per second card (TPS) on the Console tab: 20 is full speed, and a lower figure with RAM to spare points at CPU load, busy farms or a high view distance.

Was this guide helpful?

Still stuck?

Talk to a real person, we answer fast.

  • Open a ticket

    Paste the exact error and name your server, so we can look at it from our side.

  • Ask on Discord

    Chat with the team and other server owners.

  • Browse the Help Centre

    Versions, mods, plugins, backups and RAM sizing, all in plain English.

Ready to launch your Minecraft server?

Aussie hardware, NVMe disks and DDoS protection, with the version and mod loader yours to change whenever you like.

See Minecraft plans