cbeust/testng — Issue #158: OutOfMemory exception when running many suites
Author: sebbes
Created: 2012-01-17 10:01:58+00:00
State: open

When running testng with a lot of suite files testNG runs out of Memory. The culprit is the org.testng.internal.Configuration, with more than 17 million instances of IConfigurationListener (in this case org.apache.maven.surefire.testng.ConfigurationAwareTestNGReporter) in the List m_configurationListeners.

We had about 20 suite files, we reduced the number to 12, and now the tests run fine. We use TestNG version 6.3.

Let me know if you need more information.

Regards,
Sebastian