forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject svn commit: rev 10545 - xml/forrest/trunk/src/documentation/content/xdocs
Date Thu, 06 May 2004 14:28:42 GMT
Author: brondsem
Date: Thu May  6 07:28:41 2004
New Revision: 10545

Modified:
   xml/forrest/trunk/src/documentation/content/xdocs/faq.xml
Log:
more complete answer to memory control; FOR-71

Modified: xml/forrest/trunk/src/documentation/content/xdocs/faq.xml
==============================================================================
--- xml/forrest/trunk/src/documentation/content/xdocs/faq.xml	(original)
+++ xml/forrest/trunk/src/documentation/content/xdocs/faq.xml	Thu May  6 07:28:41 2004
@@ -91,14 +91,22 @@
 
     <faq id="maxmemory">
       <question>
-        How can i specify the amount of memory to be used by Java?
+        How can I specify the amount of memory to be used by Java?
       </question>
       <answer>
         <p>
-         Set the <code>maxmemory</code> property in the
-         <code>forrest.properties</code> file. Like many other properties
-         you can copy them from the default configuration at
-         <code>src/resources/fresh-site/forrest.properties</code>
+         There are two ways to control this.  If you get an OutOfMemoryError when Cocoon
is generating pages,
+         see the first paragraph.  If you get an OutOfMemoryError when outside of Cocoon
(e.g., copying raw
+         files), see the second paragraph.
+        </p>
+        <p>
+         The <code>maxmemory</code> property in the <code>forrest.properties</code>
file controls how much
+         memory Cocoon uses. Like many other properties you can copy them from the default
configuration at
+         <code>src/core/fresh-site/forrest.properties</code>
+        </p>
+        <p>
+         Set the <code>ANT_OPTS</code> environment variable before you run forrest.
 The exact value you set
+         it to is dependant on your JVM, but something like <code>ANT_OPTS=-Xmx500M</code>
will probably work.
         </p>
       </answer>
     </faq>

Mime
View raw message