From 90c86fc5812367a08a10d47709bc1181a913ad06 Mon Sep 17 00:00:00 2001 From: crowetic <5431064+crowetic@users.noreply.github.com> Date: Mon, 2 Dec 2024 09:56:56 -0800 Subject: [PATCH 1/4] Update start-6001-to-16000m.sh modified Xss and percentage for 6000-16000 start script --- start-6001-to-16000m.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start-6001-to-16000m.sh b/start-6001-to-16000m.sh index cd6e7d3..85c390f 100644 --- a/start-6001-to-16000m.sh +++ b/start-6001-to-16000m.sh @@ -33,7 +33,7 @@ fi # Limits Java JVM stack size and maximum heap usage. # 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="-XX:MaxRAMPercentage50 -XX:+UseG1GC -Xss1024k" # Although java.net.preferIPv4Stack is supposed to be false From 540a7ab50821f9f92a40989bebe06a18ff6111f6 Mon Sep 17 00:00:00 2001 From: crowetic <5431064+crowetic@users.noreply.github.com> Date: Mon, 2 Dec 2024 10:31:32 -0800 Subject: [PATCH 2/4] Update start-6001-to-16000m.sh --- start-6001-to-16000m.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start-6001-to-16000m.sh b/start-6001-to-16000m.sh index 85c390f..a234db2 100644 --- a/start-6001-to-16000m.sh +++ b/start-6001-to-16000m.sh @@ -33,7 +33,7 @@ fi # Limits Java JVM stack size and maximum heap usage. # Comment out for bigger systems, e.g. non-routers # or when API documentation is enabled -JVM_MEMORY_ARGS="-XX:MaxRAMPercentage50 -XX:+UseG1GC -Xss1024k" +JVM_MEMORY_ARGS="-XX:MaxRAMPercentage=50 -XX:+UseG1GC -Xss1024k" # Although java.net.preferIPv4Stack is supposed to be false From 42537d082fce6ec6f5e062378b4c20856e6cd640 Mon Sep 17 00:00:00 2001 From: crowetic <5431064+crowetic@users.noreply.github.com> Date: Mon, 2 Dec 2024 10:32:09 -0800 Subject: [PATCH 3/4] Update start-4GB.sh --- start-4GB.sh | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/start-4GB.sh b/start-4GB.sh index b426992..1eaf7d8 100644 --- a/start-4GB.sh +++ b/start-4GB.sh @@ -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 From eed46770d9178d9cd7d2ff3a0f28bbc7ccb992cc Mon Sep 17 00:00:00 2001 From: crowetic <5431064+crowetic@users.noreply.github.com> Date: Mon, 2 Dec 2024 10:32:39 -0800 Subject: [PATCH 4/4] Update start-32bit.sh --- start-32bit.sh | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/start-32bit.sh b/start-32bit.sh index 76341d7..ab45a1d 100644 --- a/start-32bit.sh +++ b/start-32bit.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),