Guides / RAM
How much RAM does a modded Minecraft server need?
RAM for Forge, NeoForge and Fabric servers by modpack size, and how to check what your pack really needs.
Updated
Mods are the biggest single factor in server RAM. A modded server for the same group of players can need two to four times the memory of a vanilla one.
RAM by modpack size
- Under ~50 mods: 4–6 GB
- ~50–150 mods: 6–10 GB
- 150+ mods (kitchen-sink packs): 8–12 GB, sometimes 16 GB for large groups
These assume a small group at view distance 8–10. Add roughly 0.15 GB per extra player, more if they spread out across the world. The RAM calculator works it out for you.
Check the pack's own recommendation
Most modpacks list server requirements on their download page. Treat that as a minimum. Packs change between versions, and a pack's figure is usually for a few players.
Watch the first week
The best number comes from your own server. After a few days of normal play:
- Run
/spark healthif you have the spark mod or plugin, or check your panel's memory graph. - Look at memory use after garbage collection, not the peak. Java always fills the heap before it cleans up.
- If the post-cleanup figure stays under 70% of your RAM, you have headroom.
Fabric vs Forge
Fabric packs usually start lighter than Forge or NeoForge packs of the same size, because the loader itself is smaller. Mod count and what the mods do still matter far more than the loader.
Pre-generate the world
Modded terrain generation is heavy on both CPU and memory. Pre-generating with Chunky before players join removes most of the lag spikes people blame on RAM.