JDK 7 requires minimum of 256k stack size, update scripts to set it, closes #1892.

This commit is contained in:
Shay Banon 2012-04-29 17:16:41 +03:00
parent b379225238
commit c56218a41f
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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"