Re: finding memory leaks in extensions

From: Shridhar Daithankar <shridhar_daithankar(at)persistent(dot)co(dot)in>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: finding memory leaks in extensions
Date: 2003-09-29 10:19:59
Message-ID: 200309291549.59925.shridhar_daithankar@persistent.co.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Christopher Kings-Lynne 2003-09-29 10:28:44 Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta)
Previous Message strk 2003-09-29 10:05:10 finding memory leaks in extensions