minecraft: lower minimum ram usage
so like turns out java will take always fill the minimum ram space and that like causes stuff to OOM
This commit is contained in:
parent
2812ce48fc
commit
f4103d221e
3 changed files with 3 additions and 3 deletions
|
|
@ -5,7 +5,7 @@
|
|||
enable = true;
|
||||
package = pkgs.paperServers.paper-1_21_11;
|
||||
autoStart = true;
|
||||
jvmOpts = "-Xms4096M -Xmx4096M";
|
||||
jvmOpts = "-Xms1024M -Xmx4096M";
|
||||
|
||||
serverProperties = {
|
||||
server-port = 30002;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
enable = true;
|
||||
package = pkgs.fabricServers.fabric-1_21_11;
|
||||
autoStart = true;
|
||||
jvmOpts = "-Xms4096M -Xmx4096M";
|
||||
jvmOpts = "-Xms1024M -Xmx4096M";
|
||||
|
||||
serverProperties = {
|
||||
server-port = 30001;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
package = pkgs.velocityServers.velocity;
|
||||
autoStart = true;
|
||||
openFirewall = true;
|
||||
jvmOpts = "-Xms256M -Xmx1024M";
|
||||
jvmOpts = "-Xms128M -Xmx1024M";
|
||||
symlinks = {
|
||||
"plugins/Luckperms.jar" = pkgs.fetchurl { url = "https://download.luckperms.net/1610/velocity/LuckPerms-Velocity-5.5.21.jar"; sha512 = "xAUogBzYUF71CuutcUPM1QJLVel/6Ihzui1Ksbdrd5qeGDqecULdHJtMNsLCM6XQJndGgBTrGv4xljLzVQsx7A=="; };
|
||||
"plugins/Velocitab.jar" = pkgs.fetchurl { url = "https://hangarcdn.papermc.io/plugins/William278/Velocitab/versions/1.7.9/VELOCITY/Velocitab-1.7.9.jar"; sha512 = "2okGzE0QJz8RTOmVCZHBizokEuTwVvKRPwr6JhJUg5kpsWWhkF+k+XCMzI5aMwSbDy7+2W3NE1qvbfFZHAKdsw=="; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue