Yeh, I noticed that. However I don't do anything 'illegal' in the async task..... and even when I get rid of the @async annotation, it still doesn't GC on redeploys.
I also tried a very simple tomee project with a simple async task that just printed 'helloworld' to the console.... this did GC correctly. I am wondering if it could be MyBatis (which I use in the aync task), that is not freeing itself when the application shuts down. I couldn't see anything related to this in the heap dumps however :-/ -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Permgen-issue-tp4676065p4676077.html Sent from the TomEE Users mailing list archive at Nabble.com.
