Re: Tomcat classloader memory leak when an object is stored into session

2014-02-10 Thread Michal Botka
Thomas ma...@apache.org: On 07/02/2014 06:38, Michal Botka wrote: Is there a way how to avoid this leak? There is no leak. I would like to develop an application which can be safely deployed/undeployed without restarting the server. That is very much under your control. I'd suggest reading

Tomcat classloader memory leak when an object is stored into session

2014-02-06 Thread Michal Botka
When an application stores an object into the session and then the application is reloaded using Tomcat Web Application Manager, the classloader cannot be garbage collected. As a result, the OutOfMemoryError: PermGen space error occurs after several reloads. To illustrate the issue, you can find

Re: Tomcat classloader memory leak when an object is stored into session

2014-02-06 Thread Michal Botka
don't meet. Thanks for help. 2014-02-06 22:58 GMT+01:00 David Kerber dcker...@verizon.net: On 2/6/2014 3:13 PM, Michal Botka wrote: When an application stores an object into the session and then the application is reloaded using Tomcat Web Application Manager, the classloader cannot be garbage