diff --git a/start-6001-to-16000m.sh b/start-6001-to-16000m.sh index 0dd874c..cd6e7d3 100644 --- a/start-6001-to-16000m.sh +++ b/start-6001-to-16000m.sh @@ -34,21 +34,7 @@ fi # Comment out for bigger systems, e.g. non-routers # or when API documentation is enabled JVM_MEMORY_ARGS="-XX:MaxRAMPercentage40 -XX:+UseG1GC -Xss512k" -#JVM_MEMORY_ARGS=" - -Xms6000m \ - -Xmx6000m \ - -Xss2048k \ - -XX:+HeapDumpOnOutOfMemoryError \ - -XX:HeapDumpPath=./heapdump.hprof \ - -XX:+UseG1GC \ - -XX:MaxGCPauseMillis=300 \ - -XX:InitiatingHeapOccupancyPercent=55 \ - -XX:ParallelGCThreads=4 \ - -XX:ConcGCThreads=2 \ - -XX:G1HeapRegionSize=32m \ - -XX:MaxTenuringThreshold=10 \ - -XX:+AlwaysPreTouch -" + # Although java.net.preferIPv4Stack is supposed to be false # by default in Java 11, on some platforms (e.g. FreeBSD 12), diff --git a/start-high-RAM.sh b/start-high-RAM.sh index adc74f4..846882b 100644 --- a/start-high-RAM.sh +++ b/start-high-RAM.sh @@ -35,21 +35,7 @@ fi # or when API documentation is enabled # Uncomment (remove '#' sign) line below if your system has less than 12GB of RAM for optimal RAM defaults JVM_MEMORY_ARGS="-XX:MaxRAMPercentage=40 -XX:+UseG1GC -Xss1024k" -#JVM_MEMORY_ARGS=" - -Xms8000m \ - -Xmx8000m \ - -Xss4096k \ - -XX:+HeapDumpOnOutOfMemoryError \ - -XX:HeapDumpPath=./heapdump.hprof \ - -XX:+UseG1GC \ - -XX:MaxGCPauseMillis=300 \ - -XX:InitiatingHeapOccupancyPercent=35 \ - -XX:ParallelGCThreads=4 \ - -XX:ConcGCThreads=2 \ - -XX:G1HeapRegionSize=32m \ - -XX:MaxTenuringThreshold=10 \ - -XX:+AlwaysPreTouch -" + # Although java.net.preferIPv4Stack is supposed to be false diff --git a/start-modified-memory-args.sh b/start-modified-memory-args.sh index 76341d7..ab45a1d 100644 --- a/start-modified-memory-args.sh +++ b/start-modified-memory-args.sh @@ -34,21 +34,7 @@ fi # Comment out for bigger systems, e.g. non-routers # or when API documentation is enabled JVM_MEMORY_ARGS="-Xss1256k -Xms1750m -Xmx1750m" -#JVM_MEMORY_ARGS=" - -Xms1750m \ - -Xmx1750m \ - -Xss1212k \ - -XX:+HeapDumpOnOutOfMemoryError \ - -XX:HeapDumpPath=./heapdump.hprof \ - -XX:+UseG1GC \ - -XX:MaxGCPauseMillis=300 \ - -XX:InitiatingHeapOccupancyPercent=50 \ - -XX:ParallelGCThreads=4 \ - -XX:ConcGCThreads=2 \ - -XX:G1HeapRegionSize=32m \ - -XX:MaxTenuringThreshold=10 \ - -XX:+AlwaysPreTouch -" + # Although java.net.preferIPv4Stack is supposed to be false # by default in Java 11, on some platforms (e.g. FreeBSD 12),