Author: jleroux
Date: Thu Sep 9 21:32:44 2010 New Revision: 995580 URL: http://svn.apache.org/viewvc?rev=995580&view=rev Log: Changes all PermSize default values from 128 to 512. It's anyway a Max, so no worries and less troubles. On the demo server we use 512 for both instances Modified: ofbiz/trunk/rc.ofbiz ofbiz/trunk/rc.ofbiz.for.debian ofbiz/trunk/startofbiz.bat ofbiz/trunk/startofbiz.sh ofbiz/trunk/startofbizBoth.bat ofbiz/trunk/startofbizPos.bat Modified: ofbiz/trunk/rc.ofbiz URL: http://svn.apache.org/viewvc/ofbiz/trunk/rc.ofbiz?rev=995580&r1=995579&r2=995580&view=diff ============================================================================== --- ofbiz/trunk/rc.ofbiz (original) +++ ofbiz/trunk/rc.ofbiz Thu Sep 9 21:32:44 2010 @@ -39,7 +39,7 @@ OFBIZ_HOME=/home/ofbiz/ofbiz OFBIZ_LOG=$OFBIZ_HOME/runtime/logs/console.log # VM Options -JAVA_VMOPTIONS="-Xms128M -Xmx512M -XX:MaxPermSize=128m" +JAVA_VMOPTIONS="-Xms128M -Xmx512M -XX:MaxPermSize=512m" # Java arguments JAVA_ARGS="-jar ofbiz.jar" Modified: ofbiz/trunk/rc.ofbiz.for.debian URL: http://svn.apache.org/viewvc/ofbiz/trunk/rc.ofbiz.for.debian?rev=995580&r1=995579&r2=995580&view=diff ============================================================================== --- ofbiz/trunk/rc.ofbiz.for.debian (original) +++ ofbiz/trunk/rc.ofbiz.for.debian Thu Sep 9 21:32:44 2010 @@ -30,7 +30,7 @@ OFBIZ_HOME=/home/ofbiz/ofbiz OFBIZ_LOG=$OFBIZ_HOME/runtime/logs/console.log # VM Options -JAVA_VMOPTIONS="-Xms128M -Xmx512M -XX:MaxPermSize=128m" +JAVA_VMOPTIONS="-Xms128M -Xmx512M -XX:MaxPermSize=512m" # Java arguments JAVA_ARGS="-jar ofbiz.jar" Modified: ofbiz/trunk/startofbiz.bat URL: http://svn.apache.org/viewvc/ofbiz/trunk/startofbiz.bat?rev=995580&r1=995579&r2=995580&view=diff ============================================================================== --- ofbiz/trunk/startofbiz.bat (original) +++ ofbiz/trunk/startofbiz.bat Thu Sep 9 21:32:44 2010 @@ -25,7 +25,7 @@ rem ### Delete the last log rem del %OFBIZ_LOG% rem ###VM args block #################################################### -rem set MEMIF=-Xms128M -Xmx512M -XX:MaxPermSize=128m +rem set MEMIF=-Xms128M -Xmx512M -XX:MaxPermSize=512m rem # RMI settings rem set DEBUG=-Dsun.rmi.server.exceptionTrace=true rem # Automatic IP address for Windows @@ -47,12 +47,12 @@ rem ### start ofbiz with previous set VM rem "%JAVA_HOME%\bin\java" %VMARGS% -jar ofbiz.jar > %OFBIZ_LOG% rem ### This one is for more of a debugging mode -rem "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=128m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar ofbiz.jar > runtime\logs\console.log +rem "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=512m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar ofbiz.jar > runtime\logs\console.log rem ### Simple easy to read line echo on -"%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=128m -jar ofbiz.jar +"%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=512m -jar ofbiz.jar echo off rem ### If you would prefer the console output to be logged rather than displayed switch out the above line for this one -rem "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=128m -jar ofbiz.jar > runtime\logs\console.log +rem "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=512m -jar ofbiz.jar > runtime\logs\console.log Modified: ofbiz/trunk/startofbiz.sh URL: http://svn.apache.org/viewvc/ofbiz/trunk/startofbiz.sh?rev=995580&r1=995579&r2=995580&view=diff ============================================================================== --- ofbiz/trunk/startofbiz.sh (original) +++ ofbiz/trunk/startofbiz.sh Thu Sep 9 21:32:44 2010 @@ -35,7 +35,7 @@ ADMIN="-Dofbiz.admin.port=$ADMIN_PORT -D #automatic IP address for linux #IPADDR=`/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'` #RMIIF="-Djava.rmi.server.hostname=$IPADDR" -MEMIF="-Xms128M -Xmx512M -XX:MaxPermSize=128m" +MEMIF="-Xms128M -Xmx512M -XX:MaxPermSize=512m" #MISC="-Duser.language=en" VMARGS="$MEMIF $MISC $DEBUG $RMIIF $ADMIN" Modified: ofbiz/trunk/startofbizBoth.bat URL: http://svn.apache.org/viewvc/ofbiz/trunk/startofbizBoth.bat?rev=995580&r1=995579&r2=995580&view=diff ============================================================================== --- ofbiz/trunk/startofbizBoth.bat (original) +++ ofbiz/trunk/startofbizBoth.bat Thu Sep 9 21:32:44 2010 @@ -25,7 +25,7 @@ rem ### Delete the last log rem del %OFBIZ_LOG% rem ###VM args block #################################################### -rem set MEMIF=-Xms128M -Xmx512M -XX:MaxPermSize=128m +rem set MEMIF=-Xms128M -Xmx512M -XX:MaxPermSize=512m rem # RMI settings rem set DEBUG=-Dsun.rmi.server.exceptionTrace=true rem # Automatic IP address for Windows @@ -47,12 +47,12 @@ rem ### start ofbiz with previous set VM rem "%JAVA_HOME%\bin\java" %VMARGS% -jar ofbiz.jar > %OFBIZ_LOG% rem ### This one is for more of a debugging mode -rem "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=128m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar ofbiz.jar > runtime\logs\console.log +rem "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=512m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar ofbiz.jar > runtime\logs\console.log rem ### Simple easy to read line echo on -"%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=128m -jar ofbiz.jar -both +"%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=512m -jar ofbiz.jar -both echo off rem ### If you would prefer the console output to be logged rather than displayed switch out the above line for this one -rem "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=128m -jar ofbiz.jar > runtime\logs\console.log +rem "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=512m -jar ofbiz.jar > runtime\logs\console.log \ No newline at end of file Modified: ofbiz/trunk/startofbizPos.bat URL: http://svn.apache.org/viewvc/ofbiz/trunk/startofbizPos.bat?rev=995580&r1=995579&r2=995580&view=diff ============================================================================== --- ofbiz/trunk/startofbizPos.bat (original) +++ ofbiz/trunk/startofbizPos.bat Thu Sep 9 21:32:44 2010 @@ -25,7 +25,7 @@ rem ### Delete the last log rem del %OFBIZ_LOG% rem ###VM args block #################################################### -rem set MEMIF=-Xms128M -Xmx512M -XX:MaxPermSize=128m +rem set MEMIF=-Xms128M -Xmx512M -XX:MaxPermSize=512m rem # RMI settings rem set DEBUG=-Dsun.rmi.server.exceptionTrace=true rem # Automatic IP address for Windows @@ -47,12 +47,12 @@ rem ### start ofbiz with previous set VM rem "%JAVA_HOME%\bin\java" %VMARGS% -jar ofbiz.jar > %OFBIZ_LOG% rem ### This one is for more of a debugging mode -rem "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=128m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar ofbiz.jar > runtime\logs\console.log +rem "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=512m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar ofbiz.jar > runtime\logs\console.log rem ### Simple easy to read line echo on -"%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=128m -jar ofbiz.jar -pos +"%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=512m -jar ofbiz.jar -pos echo off rem ### If you would prefer the console output to be logged rather than displayed switch out the above line for this one -rem "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=128m -jar ofbiz.jar > runtime\logs\console.log +rem "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=512m -jar ofbiz.jar > runtime\logs\console.log \ No newline at end of file |
Free forum by Nabble | Edit this page |