minecraft: lower server's RAM to 4GB
This commit is contained in:
parent
4a8b5a1bff
commit
79d396ddfd
|
@ -24,7 +24,7 @@ in
|
||||||
package = pkgs.fabricServers.fabric-1_20_1.override { loaderVersion = "0.15.11"; };
|
package = pkgs.fabricServers.fabric-1_20_1.override { loaderVersion = "0.15.11"; };
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
|
||||||
jvmOpts = "-Xms512M -Xmx6016M -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=4M -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1MixedGCLiveThresholdPercent=50";
|
jvmOpts = "-Xms512M -Xmx4096M -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=4M -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1MixedGCLiveThresholdPercent=50";
|
||||||
|
|
||||||
serverProperties = {
|
serverProperties = {
|
||||||
allow-flight = true;
|
allow-flight = true;
|
||||||
|
|
Loading…
Reference in a new issue