Re: AW: AW: AW: AW: Question to possible memory leak by Threadlocal variable

2022-03-29 Thread Christopher Schultz
Thomas, On 3/29/22 02:42, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello Mark, -Ursprüngliche Nachricht- Von: Mark Eggers Gesendet: Montag, 28. März 2022 23:55 An: users@tomcat.apache.org Betreff: Re: AW: AW: AW: Question to possible memory leak by Threadlocal variable Thomas: On

AW: AW: AW: Question to possible memory leak by Threadlocal variable

2022-03-29 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Chris, > -Ursprüngliche Nachricht- > Von: Christopher Schultz > Gesendet: Montag, 28. März 2022 18:48 > An: users@tomcat.apache.org > Betreff: Re: AW: AW: Question to possible memory leak by Threadlocal > variable > > Thomas, > > On 3/25/22 16:59

AW: AW: AW: AW: Question to possible memory leak by Threadlocal variable

2022-03-28 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Mark, > -Ursprüngliche Nachricht- > Von: Mark Eggers > Gesendet: Montag, 28. März 2022 23:55 > An: users@tomcat.apache.org > Betreff: Re: AW: AW: AW: Question to possible memory leak by Threadlocal > variable > > Thomas: > > On 3/28/2022 2:01 PM, Tho

Re: AW: AW: AW: Question to possible memory leak by Threadlocal variable

2022-03-28 Thread Mark Eggers
Thomas: On 3/28/2022 2:01 PM, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello Chris, -Ursprüngliche Nachricht- Von: Christopher Schultz Gesendet: Montag, 28. März 2022 18:48 An: users@tomcat.apache.org Betreff: Re: AW: AW: Question to possible memory leak by Threadlocal variable

Re: AW: AW: AW: Question to possible memory leak by Threadlocal variable

2022-03-28 Thread Christopher Schultz
Thomas, On 3/28/22 17:01, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello Chris, -Ursprüngliche Nachricht- Von: Christopher Schultz Gesendet: Montag, 28. März 2022 18:48 An: users@tomcat.apache.org Betreff: Re: AW: AW: Question to possible memory leak by Threadlocal variable Thomas

AW: AW: AW: Question to possible memory leak by Threadlocal variable

2022-03-28 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Chris, > -Ursprüngliche Nachricht- > Von: Christopher Schultz > Gesendet: Montag, 28. März 2022 18:48 > An: users@tomcat.apache.org > Betreff: Re: AW: AW: Question to possible memory leak by Threadlocal > variable > > Thomas, > > On 3/25/22 16:59

Re: AW: AW: Question to possible memory leak by Threadlocal variable

2022-03-28 Thread Christopher Schultz
Thomas, On 3/25/22 16:59, Thomas Hoffmann (Speed4Trade GmbH) wrote: -Ursprüngliche Nachricht- Von: Christopher Schultz Gesendet: Freitag, 25. März 2022 14:05 An: users@tomcat.apache.org Betreff: Re: AW: Question to possible memory leak by Threadlocal variable Thomas, On 3/24/22 05:49

AW: AW: Question to possible memory leak by Threadlocal variable

2022-03-25 Thread Thomas Hoffmann (Speed4Trade GmbH)
> -Ursprüngliche Nachricht- > Von: Christopher Schultz > Gesendet: Freitag, 25. März 2022 14:05 > An: users@tomcat.apache.org > Betreff: Re: AW: Question to possible memory leak by Threadlocal variable > > Thomas, > > On 3/24/22 05:49, Thomas Hoffma

Re: AW: Question to possible memory leak by Threadlocal variable

2022-03-25 Thread Christopher Schultz
Thomas, On 3/24/22 05:49, Thomas Hoffmann (Speed4Trade GmbH) wrote: -Ursprüngliche Nachricht- Von: Mark Thomas Gesendet: Donnerstag, 24. März 2022 09:32 An: users@tomcat.apache.org Betreff: Re: Question to possible memory leak by Threadlocal variable On 24/03/2022 07:57, Thomas

AW: Question to possible memory leak by Threadlocal variable

2022-03-24 Thread Thomas Hoffmann (Speed4Trade GmbH)
> -Ursprüngliche Nachricht- > Von: Mark Thomas > Gesendet: Donnerstag, 24. März 2022 09:32 > An: users@tomcat.apache.org > Betreff: Re: Question to possible memory leak by Threadlocal variable > > On 24/03/2022 07:57, Thomas Hoffmann (Speed4Trade GmbH) wrote: >

Re: Question to possible memory leak by Threadlocal variable

2022-03-24 Thread Mark Thomas
On 24/03/2022 07:57, Thomas Hoffmann (Speed4Trade GmbH) wrote: Is it correct, that every spawned thread must call tl.remove() to cleanup all the references to prevent the logged warning (and not only the main thread)? Yes. Or the threads need to exit. Second question is: How might it caus

Question to possible memory leak by Threadlocal variable

2022-03-24 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, we are using a 3rd party lib/framework in our application. During undeployment we see a warning about a possible memory leak: org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] created a ThreadLocal with key of type [java.lang.ThreadLo