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

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.


1 answer

0 votes

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
Community showcase
Posted yesterday in Agile

What is Scrum? A good, bad, and ugly answer.

In a world of dark-scrum, faux-scrum, and scrum-butt, the question still remains: What is scrum and how do you do it “right?” That’s the question we set out to answer. I'm Max, I've been teaching c...

59 views 0 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you