Re: finding memory leaks in extensions - Mailing list pgsql-general

From Shridhar Daithankar
Subject Re: finding memory leaks in extensions
Date
Msg-id 200309291549.59925.shridhar_daithankar@persistent.co.in
Whole thread Raw
In response to finding memory leaks in extensions  (strk <strk@keybit.net>)
List pgsql-general
On Monday 29 September 2003 15:35, strk wrote:
> Hello,
>
> I'm trying to detect memory leaks in an external postgres extensions.
> Since SIZE of postgres process keeps growing between function calls,
> does this mean there are memory leaks in the extenal packages or
> it might be the postgres itself keeping allocated memory as a buffer
> for later use ? To note also that the same identical calls keeps
> making SIZE grow ...

Use valgrind. It's an excellent tool. It takes a huge performance hit but can
detect very steakthy bugs.

 Shridhar


pgsql-general by date:

Previous
From: strk
Date:
Subject: finding memory leaks in extensions
Next
From: Richard Huxton
Date:
Subject: Re: Time problem again?