mirror of
https://github.com/kaboomserver/buildpack.git
synced 2025-08-06 20:22:53 +00:00
Memory tweaks
This commit is contained in:
parent
12ed0264c0
commit
315a3b7ef9
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
while true; do
|
||||
stty intr undef
|
||||
tmux new -d -s alivecheck 'sh -x script/alivecheck'
|
||||
java -Xss512k -Xtune:virtualized -Xaggressive -Xcompressedrefs -Xdump:none -Xgc:concurrentScavenge -Xgc:dnssExpectedTimeRatioMaximum=3 -Xgc:scvNoAdaptiveTenure -Xdisableexplicitgc -Xquickstart -Xshareclasses -XX:-HeapDumpOnOutOfMemoryError -XX:MaxDirectMemorySize=64M -XX:+UseContainerSupport -Dcom.mojang.eula.agree=true -Dpaper.playerconnection.keepalive=360 -DIReallyKnowWhatIAmDoingISwear -jar minecraft-server.jar --world-dir=worlds
|
||||
java -Xms400M -Xmx400M -Xmns200M -Xmnx320M -Xtune:virtualized -Xaggressive -Xcompressedrefs -Xdump:none -Xgc:concurrentScavenge -Xgc:dnssExpectedTimeRatioMaximum=3 -Xgc:scvNoAdaptiveTenure -Xdisableexplicitgc -Xquickstart -Xshareclasses -XX:-HeapDumpOnOutOfMemoryError -XX:MaxDirectMemorySize=64M -XX:+UseContainerSupport -Dcom.mojang.eula.agree=true -Dpaper.playerconnection.keepalive=360 -DIReallyKnowWhatIAmDoingISwear -jar minecraft-server.jar --world-dir=worlds
|
||||
tmux kill-session -t alivecheck
|
||||
sleep 1
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue