Hi Harald, thanx for the hint, I never really cared about how maven worked, till now. :) Last night I attached a profiler to the running maven build and I did see some strange Issues I have to take a deeper look into. Though it might be the serviceTracker staying alive even though it shouldn't :)
Regards, Achim 2011/11/13 Harald Wellmann <[email protected]> > Am 11.11.2011 23:48, schrieb Achim Nierbeck: > > OK, this is starting to be real strange right now. >> Maybe it's more because there are quite some tests available. >> But around 5 of them are still failing because of MaxPerm size (set to >> 512M) >> either the configuration through the argline param >> doesn't work or it's just consuming to much. >> Do you know if each of the test is forked in a process of its own, or do >> all >> tests share the same instance. If so this could be a possible reason >> though I wouldn't know how to change that :( >> >> > Maven Surefire has a forkMode option with default value "once". I.e. Maven > forks one VM before running the entire test suite in it. > > You can use > > <forkMode>always</forkMode> > > to fork per test class. > > See http://maven.apache.org/**plugins/maven-surefire-plugin/** > test-mojo.html#forkMode<http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#forkMode> > > With this setting, you should be able to run your tests. > > But I suspect we are not currently addressing the real problem. PermGen > issues in web containers are usually a symptom of classloader leaks where > the container fails to release a reference to the classloader of an > application that has been undeployed. > > With Pax Web as a dual web + OSGi container, the leak might also be caused > by the OSGi framework failing to release classloaders of uninstalled > bundles. > > Sounds like a case for a heap dump analysis - I'd recommend Eclipse Memory > Analyzer. > > Best regards, > Harald > > > ______________________________**_________________ > general mailing list > [email protected] > http://lists.ops4j.org/**mailman/listinfo/general<http://lists.ops4j.org/mailman/listinfo/general> > -- *Achim Nierbeck* Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/>
_______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
