mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-06-13 18:28:55 +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;
|
||||
|
||||
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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue