Flags Generator
Generate optimized JVM flags for your server.
Optimize your Minecraft server startup flags to ensure high performance and avoid garbage collection (GC) lag spikes.
Choose your RAM, Java version, and server core — an optimized startup script will be generated automatically. Copy the command to your panel and paste it into the Startup field.
Flags Generator
4G RAM · ModernServer RAM
Java Version
Server Core
bash · startup command
java -Xms4G -Xmx4G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCCountTarget=4 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -XX:+UseStringDeduplication -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+UseFastJNIAccessors -XX:+UseThreadPriorities -XX:+OmitStackTraceInFastThrow -XX:+TrustFinalNonStaticFields -XX:ThreadPriorityPolicy=1 -Xlog:async -jar server.jar noguiNote: this flag combination is optimized for Arqonara infrastructure (AMD EPYC / Ryzen 9). If you move to another provider, some flags may need to be adjusted.
