Re: Memory leak - Mailing list pgsql-bugs

From Spencer Quin
Subject Re: Memory leak
Date
Msg-id 7F0B5938B08C9345BA58ED090AA813F402BCEA04@XCL02YKF.rim.net
Whole thread Raw
In response to Memory leak  ("Spencer Quin" <squin@rim.com>)
List pgsql-bugs
That's a good theory.  I will definitely check it out.
I appreciate you looking into this Tom.
    Spence

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]=20
Sent: Tuesday, August 24, 2004 4:13 PM
To: Spencer Quin
Cc: pgsql-bugs@postgresql.org; Thomas Parry; Geoffrey Stitt
Subject: Re: [BUGS] Memory leak=20

"Spencer Quin" <squin@rim.com> writes:
> I have found a memory leak in the libpq library for postrgesql 7.4.3.
> The code sample in the attached file will produce the error.

The traceback says that the leak is in libresolv, not libpq.  I'm not
sure it's really a leak at all --- I'd expect libresolv to do some
internal caching, and this looks like it could be data that's just being
held onto for possible reuse.  But in any case you want to file this
report with somebody else.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Maksim Likharev
Date:
Subject: Win32 Native port more then 64 connection
Next
From: "Andreas Heiduk"
Date:
Subject: Re: BUG #1229: memory leak in backend with COPY and FOREIGN KEY