portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r931744 - in /portals/jetspeed-2/portal/trunk/jetspeed-installer/etc/tomcat/bin: catalina.bat catalina.sh
Date Thu, 08 Apr 2010 01:07:10 GMT
Author: ate
Date: Thu Apr  8 01:07:10 2010
New Revision: 931744

URL: http://svn.apache.org/viewvc?rev=931744&view=rev
Log:
Ensuring enough Java runtime memory is allocated to prevent OutOfMemory and PermGenSpace Errors

Modified:
    portals/jetspeed-2/portal/trunk/jetspeed-installer/etc/tomcat/bin/catalina.bat
    portals/jetspeed-2/portal/trunk/jetspeed-installer/etc/tomcat/bin/catalina.sh

Modified: portals/jetspeed-2/portal/trunk/jetspeed-installer/etc/tomcat/bin/catalina.bat
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/jetspeed-installer/etc/tomcat/bin/catalina.bat?rev=931744&r1=931743&r2=931744&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/jetspeed-installer/etc/tomcat/bin/catalina.bat (original)
+++ portals/jetspeed-2/portal/trunk/jetspeed-installer/etc/tomcat/bin/catalina.bat Thu Apr
 8 01:07:10 2010
@@ -67,7 +67,7 @@ rem
 rem $Id: catalina.bat 656834 2008-05-15 21:04:04Z markt $
 rem ---------------------------------------------------------------------------
 
-set JAVA_OPTS=%JAVA_OPTS% -Xmx256m
+set JAVA_OPTS=%JAVA_OPTS% -Xmx512m -XX:MaxPermSize=128m
 
 rem Guess CATALINA_HOME if not defined
 set CURRENT_DIR=%cd%

Modified: portals/jetspeed-2/portal/trunk/jetspeed-installer/etc/tomcat/bin/catalina.sh
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/jetspeed-installer/etc/tomcat/bin/catalina.sh?rev=931744&r1=931743&r2=931744&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/jetspeed-installer/etc/tomcat/bin/catalina.sh (original)
+++ portals/jetspeed-2/portal/trunk/jetspeed-installer/etc/tomcat/bin/catalina.sh Thu Apr
 8 01:07:10 2010
@@ -70,7 +70,7 @@
 # $Id: catalina.sh 394120 2006-04-14 15:25:07Z yoavs $
 # -----------------------------------------------------------------------------
 
-JAVA_OPTS="$JAVA_OPTS "-Xmx256m
+JAVA_OPTS="$JAVA_OPTS -Xmx512m -XX:MaxPermSize=128m"
 
 # OS specific support.  $var _must_ be set to either true or false.
 cygwin=false



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message