From 75d5e00c68033d40ea3e9b08e678951cb36b1470 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Tue, 26 Oct 2021 17:08:48 +0200 Subject: [PATCH] Reduce OOM-Crashes Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/SubserverSystem.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/de/steamwar/bungeecore/SubserverSystem.java b/src/de/steamwar/bungeecore/SubserverSystem.java index dc10eaa..9e08df5 100644 --- a/src/de/steamwar/bungeecore/SubserverSystem.java +++ b/src/de/steamwar/bungeecore/SubserverSystem.java @@ -107,7 +107,7 @@ public class SubserverSystem { File directory = new File(SERVER_PATH, modus.getFolder()); ProcessBuilder builder = node.startServer( - modus.serverJar(), directory, worldDir, mapName, port, "512M", + modus.serverJar(), directory, worldDir, mapName, port, "768M", "logPath=" + mapName, "config=" + modus.getConfig(), "fightID=" + eventFightID, "ranked=" + ranked, "checkSchemID=" + checkSchemID, "prepareSchemID=" + prepareSchemID, @@ -169,7 +169,7 @@ public class SubserverSystem { private static void sendToBau15(ProxiedPlayer p, UUID owner, String serverJar){ SteamwarUser user = SteamwarUser.get(owner); - sendToBau(p, owner, BungeeCore.BAUWELT15, BungeeCore.USERWORLDS15, serverJar, "/home/minecraft/userworlds15", String.valueOf(user.getId()), "512M", "Bau15"); + sendToBau(p, owner, BungeeCore.BAUWELT15, BungeeCore.USERWORLDS15, serverJar, "/home/minecraft/userworlds15", String.valueOf(user.getId()), "768M", "Bau15"); } public static void sendToBau15(ProxiedPlayer p, UUID owner){