server/minecraft: Optimized JVM execution

dehydrated
Felix Stupp 5 years ago
parent f3db11cdfe
commit 3f64b70b04
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -3,6 +3,16 @@
-server \
-Xms{{ minecraft_start_ram | quote }} \
-Xmx{{ minecraft_max_ram | quote }} \
-XX:+UseG1GC \
-XX:+UnlockExperimentalVMOptions \
-XX:MaxGCPauseMillis=100 \
-XX:+DisableExplicitGC \
-XX:TargetSurvivorRatio=90 \
-XX:G1NewSizePercent=50 \
-XX:G1MaxNewSizePercent=80 \
-XX:G1MixedGCLiveThresholdPercent=35 \
-XX:+AlwaysPreTouch \
-XX:+ParallelRefProcEnabled \
-jar \
{{ installation_directory | quote }}/server.jar \
nogui

Loading…
Cancel
Save