tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Fowler <tomcat-u...@mlfowler.com>
Subject Re: Memory leaking on [un|re]load: WebappClassLoader isn't GC'ed
Date Wed, 25 Jan 2006 15:34:32 GMT
Good day,

I have encountered a similar problem while deploying webapps. In my case 
I noticed that after the sixth deployment I would encounter 
OutOfMemoryError when I tried to use the application. After trawling the 
archives and running the tomcat jvm with the -XX:+PrintGCDetails option 
I discovered that I run out of PermSpace. Reading this posting
http://marc.theaimsgroup.com/?l=tomcat-user&m=113532811904238&w=2 from 
Rodrigo Ruiz I discover that the memory leak is caused by static classes 
(aka Singletons) that are dotted all over support jars in my classpath. 
For me to solve my problem I would need to go on one hell of an 
anti-singleton crusade, and tempting as it, is I haven't the time. 
Perhaps this is the cause of your problems as well?

Kind regards,

Mike Fowler
Registered Linux user: 379787

"I could be a genius if I just put my mind to it, and I,
I could do anything, if only I could get 'round to it"
-PULP 'Glory Days'

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


Mime
View raw message