www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Waagan <krist...@apache.org>
Subject Clover on largish projects
Date Mon, 08 Feb 2010 11:40:17 GMT
Hi,

Does anyone have any experience running Clover on largish projects?
I'm trying to get Clover running for Derby, which has around 500'000+ 
lines of code (excluding blank lines and comments) and somewhere around 
10'000+ test cases (differs hugely wrt size/complexity).
Since this is a database, I assume most of the tests involves executing 
the core pieces of the database engine.

I have managed to run most of the tests with Clover. The Clover database 
currently weighs in at 4.7 GB, and one of the "half-baked" reports is 
5.7 GB big.

Now, when I try to generate the HTML report, it always fails with 
out-of-memory exceptions. I'm currently running with 
'<clover-html-report numThreads="0" maxtestsperfile="10"/>', using 
Clover 2.4.3.
I've tried running with a heap of 5 GB, but still I get OOMEs. This 
suggests to me that Clover report generation isn't really written to 
process large amounts of data. I can increase the heap further, but then 
I'll be using almost all the memory on the slave, which I'd prefer not 
to do...

I've seen some other knobs introduced in Clover 2.6.
Is it worth upgrading to 2.6? Is it a lot better?
Any other ways I can make this work?
Alternative tools?
(Apache Derby build is ant based)

I know some of these questions are rather basic, but I'm hoping for some 
valuable input as this is a side-project to which I cannot devote that 
much time at the moment.


Regards,
-- 
Kristian


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message