You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2009/07/30 15:46:46 UTC

svn commit: r799262 - /ant/core/trunk/docs/manual/OptionalTasks/junit.html

Author: bodewig
Date: Thu Jul 30 13:46:45 2009
New Revision: 799262

URL: http://svn.apache.org/viewvc?rev=799262&view=rev
Log:
hint at maxmemory setting.  PR 43301

Modified:
    ant/core/trunk/docs/manual/OptionalTasks/junit.html

Modified: ant/core/trunk/docs/manual/OptionalTasks/junit.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/OptionalTasks/junit.html?rev=799262&r1=799261&r2=799262&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/OptionalTasks/junit.html (original)
+++ ant/core/trunk/docs/manual/OptionalTasks/junit.html Thu Jul 30 13:46:45 2009
@@ -152,7 +152,10 @@
   <tr>
     <td valign="top">maxmemory</td>
     <td valign="top">Maximum amount of memory to allocate to the forked VM.
-      Ignored if <code>fork</code> is disabled.</td>
+      Ignored if <code>fork</code> is disabled. <strong>Note</strong>: 
+      If you get <code>java.lang.OutOfMemoryError: Java heap space</code>
+      in some of your tests then you need to raise the size like
+      <code>maxmemory="128m"</code></td>
     <td align="center" valign="top">No</td>
   </tr>
   <tr>