how to disable logs in memory in surefire plugin

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

how to disable logs in memory in surefire plugin

Raul Villanueva
Hi Folks,

I've seen some OutOfMemory recently in the surefire plugin while running testng tests.

I took the dump for one of the issues and apparently the surefire plugin keeps every single entry of the log in memory, which is finally causing the OutOfMemory. This is what Eclipse Memory Analyzer shows:


(link in case image does not show up: https://pasteboard.co/Hghlmzm.png)

Is there a way to avoid the TestSetRunListener to keep every single log entry in memory? or how do I disable it if possible?

Thanks in advance,
Raul Villanueva