Re: Re: Memory Leak / Prepared Statement - Mailing list pgsql-jdbc

From Rene Pijlman
Subject Re: Re: Memory Leak / Prepared Statement
Date
Msg-id rjvlmtgk20jt0ahfuklnt8rlm1fk5q4t9e@4ax.com
Whole thread Raw
In response to Re: Memory Leak / Prepared Statement  (John Cook <johncook@interport.net>)
List pgsql-jdbc
On Fri, 03 Aug 2001 15:47:20 -0400, you wrote:
>it looks like it is jdbc2/PreparedStatement which is not being garbage
>collected.  All of my PreparedStatement stay visible in Optimize it
>and the number of instances never decreases.

Are you sure your all references to these objects in your
application code are gone? It's not unusual to keep
PreparedStatements alive for reuse.

>What other information can I provide to help determine if this is a
>memory leak or another problem?

Please provide the source code (preferably simplified as much as
possible) that reproduces the problem, and a description of the
tables involved and perhaps information about the data that's in
the tables. Basically, post everything that we need to see the
same thing you're seeing.

Regards,
René Pijlman

pgsql-jdbc by date:

Previous
From: John Cook
Date:
Subject: Re: Memory Leak / Prepared Statement
Next
From: John Cook
Date:
Subject: Re: Re: Memory Leak / Prepared Statement - Problem solved!!