-
Bug
-
Resolution: Fixed
-
Medium
-
2.0.1
-
None
-
None
Clover 2 is generating an OOM while writing reports for a large build. The build output is:
—
26-Oct-2007 03:13:12 clover-guard:
26-Oct-2007 03:13:12 [javac] WARNING: The <testresults> element is deprecated. It will be ignored.
26-Oct-2007 03:13:12 [javac] WARNING: The <testresults> element is deprecated. It will be ignored.
26-Oct-2007 03:13:12 [javac] WARNING: The <testresults> element is deprecated. It will be ignored.
26-Oct-2007 03:13:12 [clover-report] Clover Version 2.0.1, built on October 19 2007
26-Oct-2007 03:13:12 [clover-report] Loaded from: /n/bin/ant/apache-ant-1.6.5/lib/clover.jar
26-Oct-2007 03:13:12 [clover-report] Clover: Open Source License registered to Limewire.
26-Oct-2007 03:13:12 [clover-report] Loading coverage database from: '/n/bin/bamboo/data/xml-data/build-dir/LW-NIGHTLY/limewire/clover/clover.db'
26-Oct-2007 03:14:55 [clover-report] Writing report to '/n/bin/bamboo/data/xml-data/build-dir/LW-NIGHTLY/limewire/clover/html'
26-Oct-2007 03:17:06
26-Oct-2007 03:17:06 BUILD FAILED
26-Oct-2007 03:17:06 java.lang.OutOfMemoryError: Java heap space
—
(You can ignore the character – that's just Bamboo adding a character that doesn't display on IE6.)
I've attached the clover.db used for that build. You can reproduce the problem by checking out limewire with:
cvs -d:pserver:guest@cvs.limewire.org:/cvs login
type guest for the password
cvs -d:pserver:guest@cvs.limewire.org:/cvs checkout limewire
Then create a clover subdirectory within 'limewire', copy the clover.db into there. From the limewire directory, type: ant with.clover clover2html