increase minecraft ram

This commit is contained in:
chaos 2024-08-13 20:30:38 +01:00
parent d7baf6b6fc
commit 363f69e7a7
No known key found for this signature in database

View file

@ -1,4 +1,4 @@
{ w{
self, self,
tree, tree,
lib, lib,
@ -65,7 +65,7 @@ in {
after = ["network.target" "minecraft-server.socket"]; after = ["network.target" "minecraft-server.socket"];
serviceConfig = { serviceConfig = {
ExecStart = "${pkgs.jdk8.jre}/bin/java -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -Xmx4096M -Xms1024M -Djava.security.properties=java.security -jar forge-1.7.10-10.13.4.1558-1.7.10-universal.jar nogui"; ExecStart = "${pkgs.jdk8.jre}/bin/java -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -Xmx4096M -Xms2048M -Djava.security.properties=java.security -jar forge-1.7.10-10.13.4.1558-1.7.10-universal.jar nogui";
ExecStop = "${stopScript} $MAINPID"; ExecStop = "${stopScript} $MAINPID";
Restart = "always"; Restart = "always";
User = "minecraft"; User = "minecraft";