Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bump up `ReservedCodeCacheSize` for 64bit jvm

  • Loading branch information...
commit d07d091f3c8f5b5400c6641c1595f54c82b9b225 1 parent 5275c48
Indrajit Raychaudhuri indrajitr authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  liftsh
  2. +1 −1  liftsh.cmd
2  liftsh
View
@@ -9,7 +9,7 @@ fi
INTERNAL_OPTS="-Dfile.encoding=UTF-8 -Xmx768m -noverify -XX:ReservedCodeCacheSize=96m -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:MaxPermSize=512m"
# Add 64bit specific option
-exec java -version 2>&1 | grep -q "64-Bit" && INTERNAL_OPTS="${INTERNAL_OPTS} -XX:+UseCompressedOops"
+exec java -version 2>&1 | grep -q "64-Bit" && INTERNAL_OPTS="${INTERNAL_OPTS} -XX:+UseCompressedOops -XX:ReservedCodeCacheSize=128m"
# Default options, if nothing is specified
DEFAULT_OPTS=""
2  liftsh.cmd
View
@@ -6,7 +6,7 @@ set INTERNAL_OPTS=-Dfile.encoding=UTF-8 -Xmx768m -noverify -XX:ReservedCodeCache
@REM Add 64bit specific option
java -version 2>&1 | find "64-Bit" >nul:
if not errorlevel 1 (
- set INTERNAL_OPTS=%INTERNAL_OPTS% -XX:+UseCompressedOops
+ set INTERNAL_OPTS=%INTERNAL_OPTS% -XX:+UseCompressedOops -XX:ReservedCodeCacheSize=128m
)
@REM Default options, if nothing is specified
Please sign in to comment.
Something went wrong with that request. Please try again.