increase minecraft ram
This commit is contained in:
parent
d7baf6b6fc
commit
363f69e7a7
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
w{
|
||||
self,
|
||||
tree,
|
||||
lib,
|
||||
|
@ -65,7 +65,7 @@ in {
|
|||
after = ["network.target" "minecraft-server.socket"];
|
||||
|
||||
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";
|
||||
Restart = "always";
|
||||
User = "minecraft";
|
||||
|
|
Loading…
Reference in a new issue