Increase stack size
This commit is contained in:
parent
6bae4b300c
commit
3ca5f51e67
2 changed files with 3 additions and 1 deletions
|
@ -5,6 +5,8 @@
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
ssh-keyscan github.com >> .ssh/known_hosts
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
git clone git@github.com:kaboomserver/schematics.git ~/server/plugins/FastAsyncWorldEdit/schematics/
|
git clone git@github.com:kaboomserver/schematics.git ~/server/plugins/FastAsyncWorldEdit/schematics/
|
||||||
cd ~/server/plugins/FastAsyncWorldEdit/schematics/
|
cd ~/server/plugins/FastAsyncWorldEdit/schematics/
|
||||||
|
|
|
@ -23,6 +23,6 @@ chmod 400 server-icon.png
|
||||||
chmod 400 wepif.yml
|
chmod 400 wepif.yml
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
java -Xmx1800M -Xtune:virtualized -Xaggressive -Xcompressedrefs -Xdump:heap+java+snap:none -Xdump:tool:events=throw+systhrow,filter=java/lang/OutOfMemoryError,exec="kill -9 %pid" -Xgc:concurrentScavenge -Xgc:dnssExpectedTimeRatioMaximum=3 -Xgc:scvNoAdaptiveTenure -Xdisableexplicitgc -Xshareclasses -Xshareclasses:noPersistentDiskSpaceCheck -XX:MaxDirectMemorySize=128M -XX:+ClassRelationshipVerifier -XX:+UseContainerSupport -DPaper.IgnoreJavaVersion=true -Dpaper.playerconnection.keepalive=360 -DIReallyKnowWhatIAmDoingISwear -jar server.jar
|
java -Xmx1800M -Xss8M -Xtune:virtualized -Xaggressive -Xcompressedrefs -Xdump:heap+java+snap:none -Xdump:tool:events=throw+systhrow,filter=java/lang/OutOfMemoryError,exec="kill -9 %pid" -Xgc:concurrentScavenge -Xgc:dnssExpectedTimeRatioMaximum=3 -Xgc:scvNoAdaptiveTenure -Xdisableexplicitgc -Xshareclasses -Xshareclasses:noPersistentDiskSpaceCheck -XX:MaxDirectMemorySize=128M -XX:+ClassRelationshipVerifier -XX:+UseContainerSupport -DPaper.IgnoreJavaVersion=true -Dpaper.playerconnection.keepalive=360 -DIReallyKnowWhatIAmDoingISwear -jar server.jar
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue