Re: finding memory leaks in extensions

Поиск
Список
Период
Сортировка
От Shridhar Daithankar
Тема Re: finding memory leaks in extensions
Дата
Msg-id 200309291549.59925.shridhar_daithankar@persistent.co.in
обсуждение исходный текст
Ответ на finding memory leaks in extensions  (strk <strk@keybit.net>)
Список 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 по дате отправления:

Предыдущее
От: strk
Дата:
Сообщение: finding memory leaks in extensions
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Time problem again?