Skip to content

The tool’s interface below is still in French.

RAM and JVM flags for a Minecraft server

Players, server type, mods: the recommended memory and the optimized startup command, ready to copy into your script.

Vos données

Résultats

How it works

How to use the RAM and JVM flags calculator

The recommended memory for your Minecraft server and the startup command with Aikar’s flags.

  1. Describe the server

    Type, players, plugins or mods.

  2. Enter the available RAM

    On the machine.

  3. Copy the command

    Into your startup script.

FreeNo subscription, no hidden limits.
No sign-upOpen the page and use the tool. That’s it.
InstantResults in seconds, on mobile too.
PrivateEverything runs in your browser.

About the RAM and JVM flags calculator

Aikar’s flags tune Java’s G1 garbage collector to reduce the pauses that cause lag. A different profile is applied above 12 GB of memory.

Giving too much RAM does not make the server faster: beyond what is needed, garbage collection pauses can even get longer. The processor remains the main limiting factor.

minecraft server ram calculator aikar flags minecraft jvm flags how much ram minecraft server minecraft server startup command xmx xms minecraft paper server ram
FAQ

Frequently asked questions about the RAM and JVM flags calculator

How much RAM for 20 players?

On Paper with a few plugins, 4 to 6 GB is generally enough. A heavy modpack may need 8 to 12.

Which Java version?

Java 25 for 26.x versions, Java 21 from 1.20.5 to 1.21.x, Java 17 from 1.18 to 1.20.4.

Is my data sent over the internet?

No. The calculations run in your browser, and anything that is remembered stays on your device.

Is the tool free?

Yes, it is completely free and needs no sign-up.

Esc
↑ ↓ navigateEnter open