Archiviert
1
0

Reduce OOM-Crashes

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2021-10-26 17:08:48 +02:00
Ursprung d6aefa9ec7
Commit 75d5e00c68

Datei anzeigen

@ -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){