Re: Tomcat JDBC Pool memory leak when using StatementFinalizer interceptor

2018-07-20 Thread Martin Knoblauch
On Thu, Jul 19, 2018 at 8:33 PM, Felix Schumacher < felix.schumac...@internetallee.de> wrote: > > > Am 19.07.2018 um 02:18 schrieb Filip Hanik: > >> Thanks Martin, I agree, regardless of use case, the pool should not >> generate a leak. >> > What do you think about adding a size test in createStat

Re: Tomcat JDBC Pool memory leak when using StatementFinalizer interceptor

2018-07-19 Thread Felix Schumacher
Am 19.07.2018 um 02:18 schrieb Filip Hanik: Thanks Martin, I agree, regardless of use case, the pool should not generate a leak. What do you think about adding a size test in createStatement and if it is bigger than a threshold start a cleanup of the list. If the list is after the cleanup st

Re: Tomcat JDBC Pool memory leak when using StatementFinalizer interceptor

2018-07-18 Thread Filip Hanik
Thanks Martin, I agree, regardless of use case, the pool should not generate a leak. let me review your proposal Filip On Wed, Jul 18, 2018 at 07:48 Martin Knoblauch wrote: > On Wed, Jul 18, 2018 at 3:24 PM, Martin Knoblauch > wrote: > > > Hi Filip, > > > > On Fri, Jul 13, 2018 at 4:33 PM, F

Re: Tomcat JDBC Pool memory leak when using StatementFinalizer interceptor

2018-07-18 Thread Martin Knoblauch
On Wed, Jul 18, 2018 at 3:24 PM, Martin Knoblauch wrote: > Hi Filip, > > On Fri, Jul 13, 2018 at 4:33 PM, Filip Hanik wrote: > >> hi Martin, >> >> On Fri, Jul 13, 2018 at 5:48 AM, Martin Knoblauch >> wrote: >> >> > Hi, (moving to developers list) >> > >> > any ideas on the problem below? This

Re: Tomcat JDBC Pool memory leak when using StatementFinalizer interceptor

2018-07-18 Thread Martin Knoblauch
Hi Filip, On Fri, Jul 13, 2018 at 4:33 PM, Filip Hanik wrote: > hi Martin, > > On Fri, Jul 13, 2018 at 5:48 AM, Martin Knoblauch > wrote: > > > Hi, (moving to developers list) > > > > any ideas on the problem below? This thing is kind of itching me :-) > > > > So I instrumented the "Statement

Re: Tomcat JDBC Pool memory leak when using StatementFinalizer interceptor

2018-07-13 Thread Filip Hanik
hi Martin, On Fri, Jul 13, 2018 at 5:48 AM, Martin Knoblauch wrote: > Hi, (moving to developers list) > > any ideas on the problem below? This thing is kind of itching me :-) > > So I instrumented the "StatementFinalizer" class with some logging and > learned that over time a few instances of t

Re: Tomcat JDBC Pool memory leak when using StatementFinalizer interceptor

2018-07-13 Thread Martin Knoblauch
Hi, (moving to developers list) any ideas on the problem below? This thing is kind of itching me :-) So I instrumented the "StatementFinalizer" class with some logging and learned that over time a few instances of the "StatementFinalizer" are created, used and destroyed. So far so good. For most