JDK 7 requires minimum of 256k stack size, update scripts to set it, closes #1892.
This commit is contained in:
parent
b379225238
commit
c56218a41f
|
@ -29,7 +29,7 @@ if NOT "%ES_HEAP_NEWSIZE%" == "" (
|
||||||
set JAVA_OPTS=%JAVA_OPTS% -Xmn%ES_HEAP_NEWSIZE%
|
set JAVA_OPTS=%JAVA_OPTS% -Xmn%ES_HEAP_NEWSIZE%
|
||||||
)
|
)
|
||||||
|
|
||||||
set JAVA_OPTS=%JAVA_OPTS% -Xss160k
|
set JAVA_OPTS=%JAVA_OPTS% -Xss256k
|
||||||
|
|
||||||
REM Enable aggressive optimizations in the JVM
|
REM Enable aggressive optimizations in the JVM
|
||||||
REM - Disabled by default as it might cause the JVM to crash
|
REM - Disabled by default as it might cause the JVM to crash
|
||||||
|
|
|
@ -24,7 +24,7 @@ if [ "x$ES_HEAP_NEWSIZE" != "x" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# reduce the per-thread stack size
|
# reduce the per-thread stack size
|
||||||
JAVA_OPTS="$JAVA_OPTS -Xss160k"
|
JAVA_OPTS="$JAVA_OPTS -Xss256k"
|
||||||
|
|
||||||
# Force the JVM to use IPv4 stack
|
# Force the JVM to use IPv4 stack
|
||||||
# JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
|
# JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
|
||||||
|
|
Loading…
Reference in New Issue