Adjust JVM memory settings for Minecraft server configuration

This commit is contained in:
Root User 2026-04-06 13:08:33 +03:00
parent 3d05307c93
commit a6bc09caac
Signed by: root
GPG key ID: 087F0A95E5766D72

View file

@ -78,9 +78,8 @@ in {
package = pkgs.neoforgeServers.neoforge-1_21_1-21_1_220;
jvmOpts = lib.concatStringsSep " " [
"-Xms28G"
# Use 120GB of RA
"-Xmx32G"
"-Xms18G"
"-Xmx45G"
];
serverProperties = {
@ -133,7 +132,7 @@ in {
jvmOpts = lib.concatStringsSep " " [
"-Xms54G"
# Use 120GB of RA
"-Xmx120G"
"-Xmx70G"
"-XX:+UseG1GC"
"-XX:+ParallelRefProcEnabled"