tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Permgen issue?
Date Thu, 03 Sep 2015 08:59:02 GMT
2015-09-03 10:27 GMT+02:00 tonywestonuk <tonyw@totspics.com>:

> 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.
>
>
sure but if the thread olds the task during the underploy then the
classloader will not be resetted in tomcat. Do you have a @PreDestroy or
something to cancel this task 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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message