You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/01/08 15:02:59 UTC
DO NOT REPLY [Bug 48510] New: Memory leak after undeploying web
application using custom log formatter
https://issues.apache.org/bugzilla/show_bug.cgi?id=48510
Summary: Memory leak after undeploying web application using
custom log formatter
Product: Tomcat 6
Version: 6.0.20
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: dsavickas@gmail.com
Created an attachment (id=24819)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=24819)
Zipped Maven project folder
After undeploying web application (see attachment) instance of CustomFormatter
is left non-reclaimed. As CustomFormatter is loaded by WebAppClassLoader, the
classloader remains in memory too.
To reproduce: deploy attached web application and stop/start it several times,
then do a heap dump. Check the dump using Eclipse Memory Analyzer or YourKit
Java Profiler and notice multiple WebAppClassLoaders present in the dump.
Issue seems to be related to org.apache.juli.ClassLoaderLogManager.
org.apache.juli.ClassLoaderLogManager$LogNode keeps a reference to
java.util.logging.Logger. Logger has a handler with CustomFormatter.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 48510] Memory leak after undeploying web
application using custom log formatter
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48510
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Mark Thomas <ma...@apache.org> 2010-01-12 13:06:04 GMT ---
Thanks for the test case. This bug has the same root cause as bug 48421 so I am
marking it as a duplicate.
*** This bug has been marked as a duplicate of bug 48421 ***
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org