Lodehost logoLodehost

Plan your server

How much RAM does a Minecraft server need?

For a small Minecraft Java survival server with a few friends, 4 GB is a reasonable starting point. Consider 8 GB for a busier server with plugins or light mods, and 12 GB or more for a large modpack. These are estimates: your Minecraft version, loaded chunks and modpack requirements matter more than player count alone.

8 min read

Minecraft-style illustration of two RAM sticks and a server on a grass block
Your plan covers the whole server process. Minecraft uses the Java heap; Java also needs memory outside it.

Minecraft server RAM: where to start

Use the table to choose an initial size, then check a session with your usual players online. It covers Java Edition servers, including Paper, Fabric and Forge/NeoForge modpacks. The figures are plan RAM, not Java heap, and are not benchmark results or guaranteed player limits.

Server setupRAM starting pointWhat to consider
Small vanilla or Paper survival server2–4 GB, Camp or MiniPrefer 4 GB for a new server with a few friends. 2 GB can work for a modest setup, depending on version and settings.
Paper with claims, an economy and other plugins8 GB, StarterA useful starting estimate for a group of roughly 10–20 players. Plugin workload and exploration can change what you need.
Fabric with performance mods, or a light modpack8 GB, StarterCheck the pack's server requirements. A small performance-only setup may need less.
Large Forge, NeoForge or Fabric modpack12 GB or more, StandardStart with the pack author's recommendation and check whether it refers to heap or total server RAM.
Heavy modpack or several active worldsConsider 24 GB, PremiumChoose this when the pack requirements or measurements justify it. Several worlds alone do not prove you need 24 GB.

Assumptions: a small community server, moderate view and simulation distances, and no known memory leak. Modpack requirements take priority over these general estimates.

Minecraft server RAM starting points: 2–4 GB for small survival, 8 GB for plugins and light mods, and 12 GB or more for larger modpacks.
Suggested starting sizes for three common setups. Check the table's assumptions and your modpack's requirements before choosing a plan. View larger.

For Java and Bedrock crossplay, include Geyser and its workload when you check usage. There is no fixed RAM increase for each Bedrock player. For modpacks, use the server recommendation: the memory needed by the game on a player's PC can be different.

Already running a server?

Check memory usage and lag before changing plans. A high memory reading on its own is not a reason to buy more RAM.

What uses RAM on a Minecraft server?

Player count matters because players load terrain and interact with the world. But two servers with the same number of players can use very different amounts of memory. The main factors are:

  • Loaded chunks. Players at the same base share much of the loaded terrain. Players exploring far apart need separate areas loaded. Higher view distances and chunk loaders can increase that total.
  • Entities and block entities. Mobs, dropped items, villagers, chests and hoppers need memory while loaded. Large farms can also create a CPU problem, which extra RAM will not solve.
  • Plugins and mods. Their memory use depends on what they do and how they store data. Counting plugins or mods alone is not enough to size a server.
  • Java and server software. Your Minecraft version, server software and Java version affect usage. Java also uses memory for thread stacks, loaded classes and buffers outside the heap.
Minecraft illustration comparing two players sharing loaded chunks at one base with two players exploring separate areas of the world.
Players at one base share loaded terrain. Far apart, they keep separate areas loaded. The highlighted areas illustrate the difference; they are not an exact view-distance map. View larger.

This is why a rule such as “one gigabyte per five players” is unreliable. Check how your group plays, the software you run and the areas you keep loaded. Disk space is a separate measurement: a large saved world does not all sit in RAM at once.

Plan RAM and Java heap: what is the difference?

Your plan's RAM limit covers the server process. The Java heap is the part used for objects such as chunks, entities and plugin data; -Xmx sets its maximum size. Java needs additional memory outside that heap. Setting -Xmx to the entire plan limit leaves no room for that extra use.

Lodehost's default allocation leaves 15% outside the heap, with a minimum margin of 768 MB and a maximum of 2,048 MB. The current plans therefore have these default heap limits:

PlanTotal RAMMaximum Java heapMargin outside heap
CampCamp2 GB1,280 MB768 MB
MiniMini4 GB3,328 MB768 MB
StarterStarter8 GB6,963 MB1,229 MB
StandardStandard12 GB10,445 MB1,843 MB
PremiumPremium24 GB22,528 MB2,048 MB
UltimateUltimate48 GB47,104 MB2,048 MB
DedicatedDedicated96 GB96,256 MB2,048 MB
TitanTitan128 GB129,024 MB2,048 MB

Calculated from Lodehost's default heap policy, checked on 21 September 2026. The margin is part of your plan; it is not a measurement of what Java is currently using.

The 2,048 MB maximum margin is an allocation setting, not a guarantee that every modpack's native memory use stays below it. Custom startup settings can also change your heap limit. If a pack asks for 8 GB of Java heap, an 8 GB total plan does not provide that under this default split.

High memory, lag or crashes: what should you do?

Start with the symptom you can confirm. The panel's memory reading covers more than used Java heap. Java can keep memory allocated after garbage collection, so the panel number does not have to drop after every collection.

What you seeCheck nextWhat to do
High RAM use, but smooth gameplay and no errorsHeap usage and garbage-collection pauses in sparkKeep monitoring. A high memory reading alone does not mean your server needs more RAM.
Lag or repeated Can't keep up warningsTick times and a profile taken during the lagFind the expensive work first: entities, chunk generation, plugins or mods. Check GC pauses too; RAM is only one possible cause.
OutOfMemoryError: Java heap spaceYour actual heap limit, pack requirements and recent changesReduce memory demand or increase the heap within a suitable plan. If usage keeps growing, investigate a possible leak.
Server stops without a Java crash reportServer events and logs; ask support to confirm whether the process was killed for exceeding its memory limitIf a memory-limit kill is confirmed, check heap headroom and native memory use. Otherwise investigate the recorded cause before upgrading.
The real Lodehost Console showing memory usage, server health and players on a demo server
Open Console and check Memory under Live resources. This screenshot shows the real Lodehost panel with a demo server and simulated readings. No customer data is shown. View larger.

A Can't keep up! warning means a tick took too long; it does not identify RAM as the cause. Also read the full error after OutOfMemoryError: Java heap space and unable to create native thread point to different problems. Paper's troubleshooting documentation explains high memory readings and crashes without logs.

When more RAM will not fix Minecraft server lag

To maintain 20 ticks per second, the server needs to complete each tick within about 50 milliseconds. Much of Minecraft's tick work runs on the main thread. More RAM does not speed up that thread when memory is already sufficient. Common problems to investigate include:

  • Large farms, item piles or crowded villager areas. Use spark to find what takes time before removing anything.
  • High view or simulation distance. Understand the two settings, then try a lower value and compare the result.
  • New terrain generation while players explore. Pregenerating with Chunky can reduce that work during gameplay, though loaded terrain still uses resources.
  • A plugin or mod doing expensive work each tick. Use a profile to identify it, then check its configuration and updates.

If server tick times are healthy but players still report lag, check their connection and client performance as well. Extra server RAM will not fix low FPS on a player's computer or an unstable network connection.

How to check your Minecraft server's RAM usage

Check usage during a typical busy session. Include the activities that cause trouble, such as exploring, visiting farms or using modded machines. A ten-minute sample is a useful first check; repeat it if the problem only appears later.

  1. Check the panel while players are online

    Open Console and note the memory usage and plan limit under Live resources. Record the player count and what they are doing. This gives you a useful comparison when you change a setting.

  2. Check Java memory with spark

    Paper includes spark from version 1.21. On current spark versions, run spark health show --memory for a console summary and spark gc for garbage-collection history. If your version does not support the show command, use spark health. In the Lodehost console, enter commands without a leading slash; in game, add the slash.

  3. Check what happens during the problem

    Compare heap use, collection pauses and any errors with the time players notice trouble. There is no universal percentage at which you must upgrade. For lag, run spark profiler start --timeout 600 during the problem and follow our spark profiling guide.

  4. Change one thing and compare

    For example, lower view distance, adjust a busy farm or change a plugin setting. Check another comparable session. Upgrade when the workload still needs more memory, or when your modpack's requirements exceed the available heap. If memory keeps growing under the same workload, investigate the cause as well.

For other server software, use the compatible spark plugin or mod if available. See Paper's profiling instructions and the spark command reference for installation and version-specific details.

Written and checked by the Lodehost team, last reviewed on 21 September 2026.

FAQ

Questions about Minecraft server RAM

Is 2 GB of RAM enough for a Minecraft server?

It can be enough for a modest vanilla or Paper setup, depending on the Minecraft version, settings and workload. For a new survival server with a few friends, 4 GB is a more practical starting estimate. The 2 GB Camp plan has a default Java heap limit of 1,280 MB, so check your software's requirements before choosing it.

How much RAM do I need for 10 players?

For a small vanilla or Paper server with around 10 players, consider 4–8 GB as an initial range. Plugins, exploration and higher view distances can increase demand. A large modpack may require 12 GB or more, even with fewer players. Follow the pack's server requirements and check usage during a busy session.

Will more RAM stop my server from lagging?

It can help if insufficient memory is causing long garbage-collection pauses or out-of-memory errors. It will not fix an overloaded main thread, an expensive plugin, poor client FPS or a network problem. Check tick times, a spark profile and memory measurements together before upgrading.

Why does Java get less memory than my plan?

The Java heap is only part of the server's memory use. Lodehost's default policy leaves 15% of the plan outside the heap, with a minimum margin of 768 MB and a maximum of 2,048 MB. That space is available for Java's other memory needs. Both the heap and this margin are within your plan's total RAM limit.

How much RAM does a modpack need?

Use the pack author's server recommendation first. As broad starting estimates, consider 8 GB for a light pack and 12 GB or more for a larger one; some heavy packs need more. Check whether the recommendation means Java heap or total server memory, and leave room for Java outside the heap. Extra mods and a busier world can change the requirement.

Choose a plan for your Minecraft server

Compare eight plans from 2 GB at €3.95 a month to 128 GB. Use the starting sizes above, then check your server's usage as your world grows.

Compare the plans