I have 800+ Unit test cases in my Grails application.I'm using grails.version=2.4.4 my Grails App
Below are the few LOC from Run Configuration of Groovy unit test cases
I'm running this application on Ubuntu Machine.
Sometimes , while running the test cases, It is giving me Out Of Memory error.
I took Sampler & Profiler(VisualVM) Memory Test Analysis, but they could not help much.
Also in each test case groovy class , I'm using @Before & @After annotation to reduce Permanent Generation.
Is there anything I'm missing? I want to reduce Perm Gen & to get rid of Out Of Memory error permanently.
Thanks In Advance !!