Minecraft server RAM calculator
Tell us what your server runs and how many play at once, and get a size to start with.
Tell us what your server runs and how many play at once, and get a size to start with.
It starts from what the server software needs on its own, then adds memory for players, plugins or mods and a long view distance. Modpacks start where their size suggests: 4 GB for a light pack, 6 GB for a mid-sized one and 8 GB for 200 mods or more.
Every modpack's page suggests a size for that pack. For the detail behind the numbers, see how much RAM a Minecraft server needs.
2 to 4 GB for a few friends on vanilla or Paper, 4 to 6 GB for a light modpack and 8 GB or more for a large one. More players, plugins and a longer view distance add to it.
No. Past what the server uses, extra memory does nothing, and Java can pause for longer to clear a very large heap. Size for what you run, with some room to grow.
Yes. Every chunk around every player is kept in memory, so a longer view distance uses more. Simulation distance mostly affects CPU.
CPU more than memory: busy farms, lots of entities and generating new chunks. Pre-generating the world helps a lot.