memory leak

2020-05-27 Thread Jonathan Yom-Tov
[org.apache.logging.log4j.core.async.RingBufferLogEventTranslator] (value [org.apache.logging.log4j.core.async.RingBufferLogEventTranslator@6caf0677]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. The nearest mention I

Re: Memory leak with log4j 2.13

2020-02-26 Thread Ralph Goers
Attachments generally do not make it to the mailing lists. There is no leak report attached to the email. I think you are going to have to explain a little more as to what your application was doing that would cause so many Console Appenders. While there is a Default Configuration there is no

Re: Memory leak by not disposing loggers

2015-04-19 Thread Gary Gregory
>> reconfiguration. > >> > >> Sent from my iPhone > >> > >>> On 2015/04/20, at 8:07, Gary Gregory wrote: > >>> > >>> Are loggers GC'd on a reconfigure? > >>> Gary > >>> > >>> Origi

Re: Memory leak by not disposing loggers

2015-04-19 Thread Ralph Goers
on. >> >> Sent from my iPhone >> >>> On 2015/04/20, at 8:07, Gary Gregory wrote: >>> >>> Are loggers GC'd on a reconfigure? >>> Gary >>> >>> Original message ---- >>> From: Remko Popma >>&g

Re: Memory leak by not disposing loggers

2015-04-19 Thread Gary Gregory
gt; > On 2015/04/20, at 8:07, Gary Gregory wrote: > > > > Are loggers GC'd on a reconfigure? > > Gary > > > > Original message > > From: Remko Popma > > Date: 04/19/2015 15:33 (GMT-08:00) > > To: Log4J Users List > >

Re: Memory leak by not disposing loggers

2015-04-19 Thread Remko Popma
04/19/2015 15:33 (GMT-08:00) > To: Log4J Users List > Subject: Re: Memory leak by not disposing loggers > > Loggers are not GC-ed until the whole logging subsystem is GC-ed. That is > until your webapp is unloaded or standalone process is stopped. > Is your app a webapp? >

Re: Memory leak by not disposing loggers

2015-04-19 Thread Gary Gregory
Are loggers GC'd on a reconfigure?  Gary Original message From: Remko Popma Date: 04/19/2015 15:33 (GMT-08:00) To: Log4J Users List Subject: Re: Memory leak by not disposing loggers Loggers are not GC-ed until the whole logging subsystem is GC-ed. That is until

Re: Memory leak by not disposing loggers

2015-04-19 Thread Remko Popma
> sounds like you need the effect of a ConcurrentHashMap with weak values... > > Gary > > On Sun, Apr 19, 2015 at 2:27 AM, Veselin M > wrote: > >> Hello all, >> >> I have a memory leak problem with Log4j2. I’m using SLF4J to get loggers >> for my

Re: Memory leak by not disposing loggers

2015-04-19 Thread Gary Gregory
The LoggerContext.loggers is a ConcurrentHashMap. It sounds like you need the effect of a ConcurrentHashMap with weak values... Gary On Sun, Apr 19, 2015 at 2:27 AM, Veselin M wrote: > Hello all, > > I have a memory leak problem with Log4j2. I’m using SLF4J to get loggers > fo

Memory leak by not disposing loggers

2015-04-19 Thread Veselin M
Hello all, I have a memory leak problem with Log4j2. I’m using SLF4J to get loggers for my objects. Unfortunately when they get garbage collected the logger remains cached in LoggerContext.loggers in the log4j framework. Is there any way to prevent the caching or to remove the logger

Re: Catalina.out trace : memory leak

2014-04-27 Thread Remko Popma
gt; checkThreadLocalMapForLeaks >> SEVERE: The web application [/clearing-newcdev10] created a ThreadLocal >> with key of type [java.lang.ThreadLocal] (value >> [java.lang.ThreadLocal@131d70a]) and a value of type [ >> org.apache.logging.log4j.core.async.Async

Re: Catalina.out trace : memory leak

2014-04-10 Thread Mahesh Dilhan
adLocal > with key of type [java.lang.ThreadLocal] (value > [java.lang.ThreadLocal@131d70a]) and a value of type [ > org.apache.logging.log4j.core.async.AsyncLogger.Info] (value > [org.apache.logging.log4j.core.async.AsyncLogger$Info@11cd743]) but > failed to remove it when the web application was stopped. Threads are going &

Re: Catalina.out trace : memory leak

2014-04-10 Thread Mahesh Dilhan
failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. *Now JConsole has two thread * *Name: AsyncLoggerConfig-1* State: TIMED_WAITING Total blocked: 0 Total waited: 307,234 Stack trace: sun.misc.Unsafe.park

Re: Catalina.out trace : memory leak

2014-04-10 Thread Remko Popma
BUG No AsyncLogger.ExceptionHandler specified > 2014-04-10 12:56:09,203 DEBUG Starting AsyncLogger disruptor with > ringbuffer size 262144... > > SEVERE: The web application [/app] created a ThreadLocal with key of type > [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@17b3a1e]) an

Re: Catalina.out trace : memory leak

2014-04-10 Thread Mahesh Dilhan
ava.lang.ThreadLocal] (value [java.lang.ThreadLocal@17b3a1e]) and a value of type [org.apache.logging.log4j.core.async.AsyncLogger.Info] (value [org.apache.logging.log4j.core.async.AsyncLogger$Info@1aca2de]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable

Re: Catalina.out trace : memory leak

2014-04-09 Thread Remko Popma
der > clearReferencesThreads > SEVERE: The web application [/app] appears to have started a thread named > [AsyncLogger-1] but has failed to stop it. *This is very likely to create a > memory leak.* > Apr 08, 2014 12:32:17 PM org.apache.catalina.loader.WebappClassLoade

Catalina.out trace : memory leak

2014-04-09 Thread Mahesh Dilhan
named [AsyncLogger-1] but has failed to stop it. *This is very likely to create a memory leak.* Apr 08, 2014 12:32:17 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks SEVERE: The web application [/app] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value

Considering org.apache.log4j.Hierarchy.ht as a "memory leak"

2013-08-25 Thread Deon van der Merwe
Hi, For every new category created a new entry is added into org.apache.log4j.Hierarchy.ht. And at the same time also for any possible parent category of that new entry. This cache is fine when you have a fairly fixed number possible categories. That cache will grow to some size and remain

Re: NDC "Memory Leak" without directly referencing it

2009-11-08 Thread Patrick Reolon
Thanks so far... This may be possible, hough the heap from the coredump wasn't showing many EJBs there. And I've asked to get me a stacktrace from the coredump, to see in which context NDC was refereenced. But I will also check our advice with EJB's being not properly finalized, that could b

RE: NDC "Memory Leak" without directly referencing it

2009-11-06 Thread Michael Erskine
Sounds like the contextual information isn't being popped off the stack - ensure your EJBs are being properly finalised and destroyed. Regards, Michael Erskine. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org