[jboss-cvs] jboss-seam/doc/reference/en/modules ...
Gavin King
gavin.king at jboss.com
Wed Feb 28 04:23:31 EST 2007
User: gavin
Date: 07/02/28 04:23:31
Modified: doc/reference/en/modules gettingstarted.xml
Log:
doc jvm args
Revision Changes Path
1.10 +32 -0 jboss-seam/doc/reference/en/modules/gettingstarted.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: gettingstarted.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/gettingstarted.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- gettingstarted.xml 23 Feb 2007 04:02:25 -0000 1.9
+++ gettingstarted.xml 28 Feb 2007 09:23:31 -0000 1.10
@@ -48,6 +48,38 @@
unzipped the Seam distribution.
</para>
+ <para>
+ JBoss has sophisticated support for hot re-deployment of WARs
+ and EARs. Unfortunately, due to bugs in the JVM, repeated
+ redeployment of an EAR—which is common during
+ development—eventually causes the JVM to run out of perm
+ gen space. For this reason, we recommend running JBoss in a JVM
+ with a large perm gen space at development time. If you're running
+ JBoss from JBoss IDE, you can configure this in the server
+ launch configuration, under "VM arguments". We suggest the
+ following values:
+ </para>
+
+ <programlisting>-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512</programlisting>
+
+ <para>
+ If you don't have so much memory available, the following is
+ our minimum recommendation:
+ </para>
+
+ <programlisting>-Xms256m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256</programlisting>
+
+ <para>
+ If you're running JBoss from the commandline, you can configure
+ the JVM options in <literal>bin/run.conf</literal>.
+ </para>
+
+ <para>
+ If you don't want to bother with this stuff now, you don't have
+ to—come back to it later, when you get your first
+ <literal>OutOfMemoryException</literal>.
+ </para>
+
</section>
<section>
More information about the jboss-cvs-commits
mailing list