We have recently upgraded surefire into artemis from 2.x, and strangely our testsuite started to crash because of memory.
So, it happens that I had other memory leaks in the past and I became addicted into finding them, up to a point that I created a project that will track memory usage over a java app, or be used on test cases to make sure leaks are not happening: https://github.com/check-leak/check-leak So, I ran this testsuite from artemis: git clone g...@github.com:apache/activemq-artemis.git cd activemq-artemis mvn install -DskipTests=true cd tests/integration-tests mvn -Ptests tests get check-leak: curl https://github.com/check-leak/check-leak/releases/download/0.11/check-leak-0.11.jar so after finding the process ID for the surefire: java -jar check-leak-0.11.jar --sleep 5000 --pid <surefire-pid> --report ./report-leak As the test progress, open ./report-leak/index.html you may refresh the page as the process go. and if you look at the objects allocations for org.apache.maven.surefire.api.util.internal.ClassMethod, the allocations are only growing after the lates version, and never being released. is there any idea about what might be causing it? if you have a big project with many tests like I do, memory allocations may be an issue and I would need to use a bigger VM just because of this probably leak. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org