I\'m running junit tests from an ant script. The tests run successfully so ant moves on to the the junitreport task to create the html report. This task is failing with a
You can use the maxmemory set within junit task itself.
As the docs explain,
Maximum amount of memory to allocate
to the forked VM. 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"