Hi All,
I am executing more than 1,000
Junit test cases using TestSuits together in one shot. In order to execute these test cases as Junit, it is working fine but when executing it as the
maven install, it is throwing OutOfMemoryError at almost after the count of 150.
I tried to maximize jvm heap size but the problem persisted.
After I found another solution updating the configuration details in POM.xml as below:
After doing this I am able to execute all the JUnit test cases without having and
OutOfMemoryError but performance got degraded. I want to know:
1) How can I improve the performance ?
1) Is changes mentioned above in POM.xml are OK ?
2) Can we mentioned the memory allocation in POM.xml like the way mentioned above ?
Best Regards,
Pratik