diff --git a/src/de/steamwar/bungeecore/SubserverSystem.java b/src/de/steamwar/bungeecore/SubserverSystem.java index c086600..8bcd406 100644 --- a/src/de/steamwar/bungeecore/SubserverSystem.java +++ b/src/de/steamwar/bungeecore/SubserverSystem.java @@ -100,6 +100,8 @@ public class SubserverSystem { cmd.add("-DcheckSchemID=" + checkSchemID); cmd.add("-Xmx3G"); cmd.addAll(JVM_ARGS); + cmd.add("-XX:+HeapDumpOnOutOfMemoryError"); + cmd.add("-XX:HeapDumpPath=/home/minecraft/heap_dumps"); cmd.add("-jar"); cmd.add(BINARY_PATH + modus.serverJar()); cmd.add("--log-strip-color");