mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-06-14 02:38:58 +02:00
Adjust JVM memory settings for Minecraft server configuration
This commit is contained in:
parent
3d05307c93
commit
a6bc09caac
1 changed files with 3 additions and 4 deletions
|
|
@ -78,9 +78,8 @@ in {
|
||||||
package = pkgs.neoforgeServers.neoforge-1_21_1-21_1_220;
|
package = pkgs.neoforgeServers.neoforge-1_21_1-21_1_220;
|
||||||
|
|
||||||
jvmOpts = lib.concatStringsSep " " [
|
jvmOpts = lib.concatStringsSep " " [
|
||||||
"-Xms28G"
|
"-Xms18G"
|
||||||
# Use 120GB of RA
|
"-Xmx45G"
|
||||||
"-Xmx32G"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
serverProperties = {
|
serverProperties = {
|
||||||
|
|
@ -133,7 +132,7 @@ in {
|
||||||
jvmOpts = lib.concatStringsSep " " [
|
jvmOpts = lib.concatStringsSep " " [
|
||||||
"-Xms54G"
|
"-Xms54G"
|
||||||
# Use 120GB of RA
|
# Use 120GB of RA
|
||||||
"-Xmx120G"
|
"-Xmx70G"
|
||||||
|
|
||||||
"-XX:+UseG1GC"
|
"-XX:+UseG1GC"
|
||||||
"-XX:+ParallelRefProcEnabled"
|
"-XX:+ParallelRefProcEnabled"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue