[jboss-cvs] JBossAS SVN: r91234 - branches/JBPAPP_5_0/build.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Jul 14 12:51:49 EDT 2009
Author: smarlow at redhat.com
Date: 2009-07-14 12:51:49 -0400 (Tue, 14 Jul 2009)
New Revision: 91234
Added:
branches/JBPAPP_5_0/build/smallmemory.patch
Modified:
branches/JBPAPP_5_0/build/README
Log:
JBPAPP-2052 Production profile for EAP 5
Modified: branches/JBPAPP_5_0/build/README
===================================================================
--- branches/JBPAPP_5_0/build/README 2009-07-14 16:15:06 UTC (rev 91233)
+++ branches/JBPAPP_5_0/build/README 2009-07-14 16:51:49 UTC (rev 91234)
@@ -13,6 +13,10 @@
cd jbossas
patch -p0 -i ./jbossas-5-disableauth.patch
+You can also run the 'smallmemory.patch', to lower the reserved Java memory size.
+ cd jbossas
+ patch -p0 -i ./smallmemory.patch
+
The patch files can be updated manually as needed or generated with these commands (assuming two AS trees representing desired targets).
Be sure to delete any noise in the output.
Added: branches/JBPAPP_5_0/build/smallmemory.patch
===================================================================
--- branches/JBPAPP_5_0/build/smallmemory.patch (rev 0)
+++ branches/JBPAPP_5_0/build/smallmemory.patch 2009-07-14 16:51:49 UTC (rev 91234)
@@ -0,0 +1,11 @@
+--- bin/run.conf 2009-07-13 19:11:33.000000000 -0400
++++ bin/run.conf 2009-07-14 12:40:53.000000000 -0400
+@@ -42,7 +42,7 @@
+ # Specify options to pass to the Java VM.
+ #
+ if [ "x$JAVA_OPTS" = "x" ]; then
+- JAVA_OPTS="-Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
++ JAVA_OPTS="-Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
+ fi
+ ## Specify the Security Manager options
+ #JAVA_OPTS="$JAVA_OPTS -Djava.security.manager -Djava.security.policy=$POLICY"
More information about the jboss-cvs-commits
mailing list