increase ram

This commit is contained in:
Expand-sys 2021-11-07 19:06:00 +11:00
parent 195c63c35c
commit 8e7a2f1901

View file

@ -21,7 +21,7 @@ function spawnMC(channel) {
};
const minecraft = spawn(
"java",
["-Xmx4096M", "-Xms1024M", "-jar", "server.jar", "-nogui"],
["-Xmx24G", "-Xms1024M", "-jar", "server.jar", "-nogui"],
options
);
minecraft.stdout.on("data", (data) => {