Re: Memory leaks - Mailing list pgsql-hackers

From Petru Paler
Subject Re: Memory leaks
Date
Msg-id 20021022204324.GA1924@paler.net
Whole thread Raw
In response to Memory leaks  (Greg Copeland <greg@CopelandConsulting.Net>)
Responses Re: Memory leaks  (Neil Conway <neilc@samurai.com>)
List pgsql-hackers
On Tue, Oct 22, 2002 at 04:16:16PM -0500, Greg Copeland wrote:
> I've started playing a little with Postgres to determine if there were
> memory leaks running around.  After some very brief checking, I'm
> starting[1] to think that the answer is yes.  Has anyone already gone
> through a significant effort to locate and eradicate memory leaks?  Is
> this done periodically?  If so, what tools are others using?  I'm
> currently using dmalloc for my curiosity.

valgrind is a great tool I used -- didn't get the time to try it out on
Postgres yet, though. Besides leaks, it also catches uninitialized
variable access and stuff like that.


Petru


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pg_dump and large files - is this a problem?
Next
From: Tom Lane
Date:
Subject: Re: Memory leaks