Re: Memory leak in 8.0 JDBC driver? - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Memory leak in 8.0 JDBC driver?
Date
Msg-id Pine.BSO.4.62.0508121322490.14258@leary.csoft.net
Whole thread Raw
In response to Re: Memory leak in 8.0 JDBC driver?  ("Albe Laurenz" <all@adv.magwien.gv.at>)
List pgsql-jdbc

On Fri, 12 Aug 2005, Albe Laurenz wrote:

> I think that I have found the memory leak, and it is indeed in the JDBC
> driver. All code references in the following refer to the 8.0-312 JDBC
> Source.

Yes, you have.  I've put fixes into CVS for both the 8.0 and 8.1 branches.

> where an org.postgresql.util.PSQLWarning is retrieved with the contents:
> LOG: statement: INSERT INTO PARENT (ID, NAME, NUMMER) VALUES ($1, $2,
> $3)
>

The reason we haven't seen reports of this before is that you appear to
have enabled statement logging and adjusted client_min_messages to "log"
so by default these messages never get to the client.

Excellent analysis.

Kris Jurka

pgsql-jdbc by date:

Previous
From: Andres Ledesma
Date:
Subject: Re: problem with stored procedure ,transaction and jdbc
Next
From: Kris Jurka
Date:
Subject: Re: problem with stored procedure ,transaction and jdbc