Go full power on Minecraft server

This commit is contained in:
Root User 2026-03-20 00:37:47 +01:00
parent 255dd70855
commit c0cb00ed55
Signed by: root
GPG key ID: 087F0A95E5766D72

View file

@ -72,9 +72,24 @@ in {
};
jvmOpts = lib.concatStringsSep " " [
"-Xms6048M"
# Use 120GB of RAM
"-Xmx12288M"
"-Xms54G"
# Use 120GB of RA
"-Xmx120G"
"-XX:+UseG1GC"
"-XX:+ParallelRefProcEnabled"
"-XX:MaxGCPauseMillis=80"
"-XX:+UnlockExperimentalVMOptions"
"-XX:+DisableExplicitGC"
"-XX:+AlwaysPreTouch"
"-XX:G1NewSizePercent=30"
"-XX:G1MaxNewSizePercent=50"
"-XX:G1HeapRegionSize=16M"
"-XX:G1ReservePercent=20"
"-XX:G1MixedGCCountTarget=4"
"-XX:InitiatingHeapOccupancyPercent=15"
"-XX:G1MixedGCLiveThresholdPercent=90"
"-XX:G1RSetUpdatingPauseTimePercent=5"
];
serverProperties = {