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

2014-02-10 Thread Michal Botka
:46 GMT+01:00 Mark Thomas : > 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

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

2014-02-06 Thread Michal Botka
tions don't meet. Thanks for help. 2014-02-06 22:58 GMT+01:00 David Kerber : > 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 >> classl

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