From 36225a3bad16070ef674c711233b85a7d1ba9379 Mon Sep 17 00:00:00 2001 From: mathiascode Date: Sun, 2 Aug 2020 20:14:02 +0300 Subject: [PATCH] Increase direct memory size limit --- script/server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/server.sh b/script/server.sh index 7ae9b12..87beb2b 100755 --- a/script/server.sh +++ b/script/server.sh @@ -36,7 +36,7 @@ while true; do -Xmx1800M \ -Xshare:on \ -Xss8M \ - -XX:MaxDirectMemorySize=128M \ + -XX:MaxDirectMemorySize=512M \ -XX:+UseContainerSupport \ -DPaper.IgnoreJavaVersion=true \ -Dpaper.playerconnection.keepalive=360 \