fixed issue with start script
This commit is contained in:
parent
679aaf5ced
commit
6d9df4886a
@ -34,21 +34,7 @@ fi
|
|||||||
# Comment out for bigger systems, e.g. non-routers
|
# Comment out for bigger systems, e.g. non-routers
|
||||||
# or when API documentation is enabled
|
# or when API documentation is enabled
|
||||||
JVM_MEMORY_ARGS="-XX:MaxRAMPercentage40 -XX:+UseG1GC -Xss512k"
|
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
|
# Although java.net.preferIPv4Stack is supposed to be false
|
||||||
# by default in Java 11, on some platforms (e.g. FreeBSD 12),
|
# by default in Java 11, on some platforms (e.g. FreeBSD 12),
|
||||||
|
@ -35,21 +35,7 @@ fi
|
|||||||
# or when API documentation is enabled
|
# or when API documentation is enabled
|
||||||
# Uncomment (remove '#' sign) line below if your system has less than 12GB of RAM for optimal RAM defaults
|
# 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="-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
|
# Although java.net.preferIPv4Stack is supposed to be false
|
||||||
|
@ -34,21 +34,7 @@ fi
|
|||||||
# Comment out for bigger systems, e.g. non-routers
|
# Comment out for bigger systems, e.g. non-routers
|
||||||
# or when API documentation is enabled
|
# or when API documentation is enabled
|
||||||
JVM_MEMORY_ARGS="-Xss1256k -Xms1750m -Xmx1750m"
|
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
|
# Although java.net.preferIPv4Stack is supposed to be false
|
||||||
# by default in Java 11, on some platforms (e.g. FreeBSD 12),
|
# by default in Java 11, on some platforms (e.g. FreeBSD 12),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user