Clover takes long time to run tests on Grails.Groovy Project and Runs OOM

Venkat Gajulapalli May 23, 2012

Hello clover users,

our project is on Grails1.3.7. I am trying to use clover to generate code coverage report.

I have about 1700 tests (1000 Unit + 700 Integration tests).

It can bear the Unit tests..but half way thru Integration tests, it runs OOM.

But the whole process takes about 4 Hours or so.

To Run Unit tests alone, its taking about 2 Hrs.

I tried increasing the heap space/perm gen to 1GB and also 2GB..nothing helped.

Even If I run just 1 test class (about 5 tests), it takes about 5 minutes to complete (under clover instrumenatation).

Same tests will run in no time without clover.

Am I missing to set any important property ?

Any recommended memory settings when running tests on Groovy/Grails using Clover ?

Thanks for your time and help.

--Venkat.

1 answer

0 votes
Marek Parfianowicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 24, 2013

Your problem might be similar to the one reported here: CLOV-1189. I suggest to try workaround #2 or #3.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events