When running instrument on a LARGE codebase (6700 classes), I get an
out of memory exception.
I re-ran with verbose output, and this was all I could get:
[cobertura-instrument] java.lang.OutOfMemoryError
[cobertura-instrument] java.lang.OutOfMemoryError
[cobertura-instrument] Exception in thread "main"
BUILD FAILED
C:\Java\build2\personal.xml:220: null
at net.sourceforge.cobertura.ant.InstrumentTask.coverage(InstrumentTask.java:116)
at net.sourceforge.cobertura.ant.InstrumentTask.execute(InstrumentTask.java:149)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:301)
at org.apache.tools.ant.Target.performTasks(Target.java:328)
at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
at org.apache.tools.ant.Main.runBuild(Main.java:632)
at org.apache.tools.ant.Main.startAnt(Main.java:183)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
Any help would be appreciated
Thx
|