mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-06-13 18:28:55 +02:00
Update Minecraft server package version and simplify JVM options
This commit is contained in:
parent
41f11ae351
commit
7364904eb3
1 changed files with 1 additions and 16 deletions
|
|
@ -75,27 +75,12 @@ in {
|
|||
autoStart = true;
|
||||
restart = "always";
|
||||
|
||||
package = pkgs.neoforgeServers.neoforge;
|
||||
package = pkgs.neoforgeServers.neoforge-1_21_1-21_1_224;
|
||||
|
||||
jvmOpts = lib.concatStringsSep " " [
|
||||
"-Xms28G"
|
||||
# Use 120GB of RA
|
||||
"-Xmx32G"
|
||||
|
||||
"-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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue