geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r803229 - /geronimo/server/trunk/framework/configs/geronimo-boilerplate/src/main/underlay/contents/etc/rc.d/start-server, default.groovy
Date Tue, 11 Aug 2009 17:38:54 GMT
Author: djencks
Date: Tue Aug 11 17:38:54 2009
New Revision: 803229

URL: http://svn.apache.org/viewvc?rev=803229&view=rev
Log:
add a more-memory profile called java6

Modified:
    geronimo/server/trunk/framework/configs/geronimo-boilerplate/src/main/underlay/contents/etc/rc.d/start-server,default.groovy

Modified: geronimo/server/trunk/framework/configs/geronimo-boilerplate/src/main/underlay/contents/etc/rc.d/start-server,default.groovy
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/configs/geronimo-boilerplate/src/main/underlay/contents/etc/rc.d/start-server%2Cdefault.groovy?rev=803229&r1=803228&r2=803229&view=diff
==============================================================================
--- geronimo/server/trunk/framework/configs/geronimo-boilerplate/src/main/underlay/contents/etc/rc.d/start-server,default.groovy
(original)
+++ geronimo/server/trunk/framework/configs/geronimo-boilerplate/src/main/underlay/contents/etc/rc.d/start-server,default.groovy
Tue Aug 11 17:38:54 2009
@@ -22,7 +22,10 @@
 //
 
 // Append some reasonable java flags if none were configured already
-if (command.javaFlags.empty) {
+if (command.profiles.contains('java6')) {
+    command.javaFlags << '-XX:MaxPermSize=512m'
+    command.javaFlags << '-Xmx2048m'
+} else if (command.javaFlags.empty) {
     command.javaFlags << '-Xmx512m'
 }
 



Mime
View raw message