Merge pull request 'Reduce OOM-Crashes' (#267) from lessBauCrashes into master
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Reviewed-on: #267 Reviewed-by: YoyoNow <jwsteam@nidido.de>
Dieser Commit ist enthalten in:
Commit
1588e74116
@ -107,7 +107,7 @@ public class SubserverSystem {
|
|||||||
|
|
||||||
File directory = new File(SERVER_PATH, modus.getFolder());
|
File directory = new File(SERVER_PATH, modus.getFolder());
|
||||||
ProcessBuilder builder = node.startServer(
|
ProcessBuilder builder = node.startServer(
|
||||||
modus.serverJar(), directory, worldDir, mapName, port, "512M",
|
modus.serverJar(), directory, worldDir, mapName, port, "768M",
|
||||||
"logPath=" + mapName, "config=" + modus.getConfig(),
|
"logPath=" + mapName, "config=" + modus.getConfig(),
|
||||||
"fightID=" + eventFightID, "ranked=" + ranked,
|
"fightID=" + eventFightID, "ranked=" + ranked,
|
||||||
"checkSchemID=" + checkSchemID, "prepareSchemID=" + prepareSchemID,
|
"checkSchemID=" + checkSchemID, "prepareSchemID=" + prepareSchemID,
|
||||||
@ -169,7 +169,7 @@ public class SubserverSystem {
|
|||||||
|
|
||||||
private static void sendToBau15(ProxiedPlayer p, UUID owner, String serverJar){
|
private static void sendToBau15(ProxiedPlayer p, UUID owner, String serverJar){
|
||||||
SteamwarUser user = SteamwarUser.get(owner);
|
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){
|
public static void sendToBau15(ProxiedPlayer p, UUID owner){
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren