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 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
Published 7 hours ago in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

52 views 0 1
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