Skip to content
Hosting · Mods and modpacks

How much memory a modpack needs

Memory guidelines for modpacks of different sizes, why memory runs out during world generation, and how to tell that there is not enough.

Updated August 13, 2026

A modded server needs several times more memory than a vanilla one: every mod registers blocks, items and recipes and keeps its own data structures.

Guidelines

ModpackMemory
30–60 mods, Fabric4 GB
100 mods6 GB
150–250 mods (ATM, FTB)8–12 GB
300+ mods, heavy world generation12–16 GB

This is server memory, not client memory.

Why it runs out during generation

Generating a world with mods is the heaviest operation: biomes, ores, structures and dungeons are all computed at once. A server that runs comfortably on 6 GB crashes with OutOfMemoryError the first time a player runs into unexplored land.

The fix: pregeneration during off-peak hours and a world border.

Signs of memory shortage

  • java.lang.OutOfMemoryError: Java heap space — analysis;
  • freezes of 3–10 seconds, memory pinned to the ceiling;
  • the server starts but crashes after an hour of play.

More isn't always better

16 GB for a modpack that runs fine on 8 gives you longer garbage collector pauses — Garbage collector. Rule of thumb: peak usage plus 30–50%.

The grid

A plan's memory is shared between all servers on the grid. A modded world and a lobby on the same 8 GB plan means 6 GB and 2 GB, not 8 and 8 — Server network.

Minecraft hostingYour server runs while you are offlineCreate server