From 30b9d9875c3069f040be7637490b6882722a83c3 Mon Sep 17 00:00:00 2001
From: Stefan Bodewig
Date: Thu, 30 Jul 2009 13:46:45 +0000
Subject: [PATCH] hint at maxmemory setting. PR 43301
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@799262 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/OptionalTasks/junit.html | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/docs/manual/OptionalTasks/junit.html b/docs/manual/OptionalTasks/junit.html
index d120fd4d0..1b39d5358 100644
--- a/docs/manual/OptionalTasks/junit.html
+++ b/docs/manual/OptionalTasks/junit.html
@@ -152,7 +152,10 @@ elements).
maxmemory |
Maximum amount of memory to allocate to the forked VM.
- Ignored if fork is disabled. |
+ Ignored if fork
is disabled. Note:
+ If you get java.lang.OutOfMemoryError: Java heap space
+ in some of your tests then you need to raise the size like
+ maxmemory="128m"
No |