Skip to content
Hosting · Getting started

How much memory a server needs

Memory guidelines for vanilla, plugins, and modpacks, why more is not always better, and how to tell that memory is actually low.

Updated October 13, 2026

Memory is not the main parameter of a Minecraft server, but it is the most discussed. The game loop runs on a single thread, so core frequency is more important than capacity; memory becomes the deciding factor when it runs short.

Guidelines

ScenarioMemory
Vanilla or Paper, up to 5 players2 GB
Survival with 10–15 plugins, up to 20 players4 GB
Large project, 40+ online8–12 GB
Light Fabric modpack, 50–100 mods4–6 GB
Large Forge modpack, 200+ mods8–12 GB
Heavy modpacks like RLCraft and ATM12–16 GB
Server networksum of worlds plus 512 MB per proxy

Why more is not always better

Java does not return memory back and collects garbage in pauses: the larger the heap, the longer the collector pause. With 32 GB for a server for ten people, you will get rare but noticeable freezes instead of frequent and unnoticeable ones. A reasonable headroom is about 1.5× actual consumption.

Signs of insufficient memory

  • in the log java.lang.OutOfMemoryError: Java heap space — breakdown;
  • the memory graph is pinned to the ceiling and does not drop;
  • regular 2–5 second freezes with Can't keep up! — breakdown.

Memory is half used, but there is lag — memory is not the issue: Common causes of lag.

Which plan to choose for a specific modpack — Which plan to choose for a modpack.

A plan's memory is shared across all worlds in the network: two servers on an 8 GB plan will get about 4 GB each, not 8 GB each — Server network.

Minecraft hostingYour server runs while you are offlineCreate server