tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: memory leak in tomcat
Date Thu, 24 May 2012 12:38:53 GMT
Christian Kaufhold wrote:

> Hi,
> 
> I have a leaking Tomcat App
> I checked the heap with the Eclipse Memory Analyser
> and it says
> 
> The classloader/component *"org.apache.catalina.loader.WebappClassLoader @
> 0x94532f50"*
> occupies *376.421.152 (79,51%)* bytes. The memory is accumulated in one
> instance of
> *"java.util.HashMap$Entry[]"* loaded by *"<system class loader>"*.
> 
> and the data that is in the entries of the gigantic Map is
> org.hibernate.impl.SessionFactoryObjectFactory
> 
> Does anyone know why this?
> 

One giant leap in the dark and totally-uneducated guess : due to some logical or 
configuration error, this application creates a new session at each request, and they 
never time out ?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message