Java Docker Images & JVM Arguments
Reference: https://github.com/Mukul1127/Minecraft-Performance-Flags-Benchmark
We recommend the following arguments for all Servers
-XX:+UnlockExperimentalVMOptions -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+UseG1GC -XX:MaxGCPauseMillis=50 -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=70 -XX:G1HeapRegionSize=4M -XX:InitiatingHeapOccupancyPercent=20 -XX:SurvivorRatio=6 -XX:+ParallelRefProcEnabled -XX:+UseStringDeduplication -XX:MaxHeapFreeRatio=15 -XX:MinHeapFreeRatio=5 -Djava.net.preferIPv4Stack=true -Dfml.ignoreInvalidMinecraftCertificates=true -Dfml.ignorePatchDiscrepancies=true
Full default forced arguments (can't be modified)
java -Xmx{{SERVER_MEMORY}}M {{JVM_ARGS}} -Dterminal.jline=false -Dterminal.ansi=true -jar server.jar
Java Docker Images
If you get the following error, you are most likely on the incorrect Docker Java image for the MC version you are running
Available Docker Images Listed Below


