Hi,

Tomcat 6.0.26 on a solaris.

After I unloaded a webapp and asked tomcat to 'find leaks', it
reported a webapp leaked memory. However, when I ran a profiler on the
heapdump, there are only 2 references to the webappclassloader. Both
are weak and are tomcat classes.

The reference chain look like this:
1. webappclassloader <- weakhashmap <- ClassLoaderLogManager <-
java.util.logging.Logging
2. webappclassloader <- weakhashmap <- StandardHost <- hashmap <-
StandardEngine <- ContainerBackgroundProcessor

I suspect that, although the webappclassloader is held as keys in
weakhashmaps, the values are indirectly and strongly referring to the
keys. Any thoughts?

Thanks,
-m

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

Reply via email to