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.

--Venkat.

1 answer

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

176 views 18 7
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