JBoss MaxPermGen java options problem with new Java spec (subject to change).

https://sourceforge.net/forum/message.php?msg_id=7281143
BF [2779124]
This commit is contained in:
bayucahya 2009-04-25 03:07:58 +00:00
parent ed8bf3bc0a
commit 185c19e8b2
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ rem Add -server to the JVM options, if supported
if not errorlevel == 1 (set JAVA_OPTS=%JAVA_OPTS% -server) if not errorlevel == 1 (set JAVA_OPTS=%JAVA_OPTS% -server)
rem JVM memory allocation pool parameters. Modify as appropriate. rem JVM memory allocation pool parameters. Modify as appropriate.
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -XX:MaxPermGen=128m set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -XX:MaxPermSize=128m
rem With Sun JVMs reduce the RMI GCs to once per hour rem With Sun JVMs reduce the RMI GCs to once per hour
set JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 set JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

View File

@ -40,7 +40,7 @@
# Specify options to pass to the Java VM. # Specify options to pass to the Java VM.
# #
if [ "x$JAVA_OPTS" = "x" ]; then if [ "x$JAVA_OPTS" = "x" ]; then
JAVA_OPTS="-Xms128m -Xmx512m -XX:MaxPermGen=128m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000" JAVA_OPTS="-Xms128m -Xmx512m -XX:MaxPermSize=128m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
fi fi
# Sample JPDA settings for remote socket debuging # Sample JPDA settings for remote socket debuging