I have a package that references several test classes. A total of 15,354 test cases. When I run the package, I get an error from memory at the 11000th mark (more or less).
I run it on Win 7 64-bit with 4G RAM. I also increased my java heap in eclipse startup configuration to 1536M.
It works fine if I run the test classes separately. Is there a way / or guide that I can follow to reduce the print of my memory?
I previously reorganized the code to use the superclass in my test cases, and use class variables to reduce memory consumption, but now it will no longer cut it.
source share