The tool’s interface below is still in French. The interface is being translated by Google Translate.
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.
Résultats
How to use the RAM and JVM flags calculator
The recommended memory for your Minecraft server and the startup command with Aikar’s flags.
-
Describe the server
Type, players, plugins or mods.
-
Enter the available RAM
On the machine.
-
Copy the command
Into your startup script.
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.
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.