logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50486] Memoryleak - org.apache.log4j.helpers.ThreadLocalMap
Date Tue, 20 Dec 2011 15:03:20 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50486

--- Comment #6 from Yingchun Chen <yingchun_chen@ibi.com> 2011-12-20 15:03:20 UTC ---
Created attachment 28091
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28091
submit a patch for memory leak in application server

This patch file just contains the "((ThreadLocalMap)tlm).remove();" to fix the
problem below:

SEVERE: The web application [/my_app] created a ThreadLocal with key of type
[org.apache.log4j.helpers.ThreadLocalMap] (value
[org.apache.log4j.helpers.ThreadLocalMap@568614]) and a value of type
[java.util.Hashtable] (value [{userId=:unknown:, monitorID=0000000000000000}])
but failed to remove it when the web application was stopped. This is very
likely to create a memory leak.
Dec 19, 2011 12:02:09 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap

-- 
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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message