summaryrefslogtreecommitdiff
path: root/start.sh
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-04-22 23:29:38 +0200
committerBotond Hende <nettingman@gmail.com>2024-04-22 23:29:38 +0200
commit408ace2b1031b152baf55a01e490f227fa3b5437 (patch)
tree00e2cab7f43707c0f6920f5c4d5c82f14ae578cf /start.sh
initial commit
Diffstat (limited to 'start.sh')
-rw-r--r--start.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/start.sh b/start.sh
new file mode 100644
index 0000000..ec22d03
--- /dev/null
+++ b/start.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+java -Xmx2048M -Xms2048M -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+ParallelRefProcEnabled -XX:+PerfDisableSharedMem -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1HeapRegionSize=8M -XX:G1HeapWastePercent=5 -XX:G1MaxNewSizePercent=40 -XX:G1MixedGCCountTarget=4 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1NewSizePercent=30 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:G1ReservePercent=20 -XX:InitiatingHeapOccupancyPercent=15 -XX:MaxGCPauseMillis=200 -XX:MaxTenuringThreshold=1 -XX:SurvivorRatio=32 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar server.jar nogui \ No newline at end of file