pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@postgresql.org>
To: Brian Buhrow <buhrow@lothlorien.nfbcal.org>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Possible memory leak in Postgres V7.0.2/ecpg 2.7.1
Date: Tue, 19 Dec 2000 17:31:16 +0100
Message-ID: <20001219173116.A10455@feivel.credativ.de> (raw)
In-Reply-To: <200012181821.KAA27945@lothlorien.nfbcal.org>
References: <200012181821.KAA27945@lothlorien.nfbcal.org>

On Mon, Dec 18, 2000 at 10:21:47AM -0800, Brian Buhrow wrote:
> V7.0.2, using ecpg V2.7.1, included with the package.  I find that running
> a batch client I wrote leaks memory to the extent that the client bombs out
> a quarter of the way through its job.  Thinking it was my code, I traced
> ...
> not particularly familiar with the innards of the ecpg code, I thought I
> would ask if anyone has seen this sort of problem before.  My sql code is

I'm not sure. I've got some reports that I couldn't reproduce though.

> not particularly complicated, but I am using cursors, and it seems that
> these allocations happen just before "declare cursor" is executed.  Can

Before it is executed or before the exec sql declare statement?

> anyone help shed light on what might be going on, and how I might fix it?
> I can provide traces if that would help, as well as any debugging
> statements, if someone can tell me how to turn them on.

Just look into the test examples in the source code if you have them. Or
else I can send them to you. But the log won't help you much I guess. 

Are you able to try ecpg 2.8.0 and libecpg 3.2.0? I can send you the source
if you like.

Michael
-- 
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!



view thread (4+ messages)  latest in thread

Message-ID: <20001219173116.A10455@feivel.credativ.de>
Permalink:  ../20001219173116.A10455@feivel.credativ.de/
Also on:    postgresql.org/message-id/20001219173116.A10455@feivel.credativ.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: meskes@postgresql.org, buhrow@lothlorien.nfbcal.org
  Subject: Re: Possible memory leak in Postgres V7.0.2/ecpg 2.7.1
  In-Reply-To: <20001219173116.A10455@feivel.credativ.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox