Update start-4GB.sh

This commit is contained in:
crowetic 2024-12-02 10:32:09 -08:00 committed by GitHub
parent 540a7ab508
commit 42537d082f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,21 +34,6 @@ fi
# Comment out for bigger systems, e.g. non-routers
# or when API documentation is enabled
JVM_MEMORY_ARGS="-XX:MaxRAMPercentage=80 -XX:+UseG1GC -Xss1024k"
#JVM_MEMORY_ARGS="
-Xms2600m \
-Xmx2600m \
-Xss1024k \
-XX:+HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath=./heapdump.hprof \
-XX:+UseG1GC \
-XX:MaxGCPauseMillis=300 \
-XX:InitiatingHeapOccupancyPercent=75 \
-XX:ParallelGCThreads=4 \
-XX:ConcGCThreads=2 \
-XX:G1HeapRegionSize=32m \
-XX:MaxTenuringThreshold=10 \
-XX:+AlwaysPreTouch
"
# Although java.net.preferIPv4Stack is supposed to be false