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

0 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

189 views 4 8
Read article

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