Antw: Re: Patch for unreleased memory in buf_init.c

Поиск
Список
Период
Сортировка
От Ulrich Neumann
Тема Antw: Re: Patch for unreleased memory in buf_init.c
Дата
Msg-id sd57fb87.084@mail.gne.de
обсуждение исходный текст
Список pgsql-patches
Hi Tom,

actually i'm working with a memory tracking system to find all
such cases where memory isn't freed. I'm doing this because
I want to get an official certification for PostgreSQL on NetWare
and I want to get a certification from HP on their UNIX.

Both told me that I couldn't get a certification as long as there
is unreleased memory.

I've seen some other places where memory isn't released but it's
not very often. Some calloc's and some strdup's. I hope it is OK
if I send thos patches.

Additional Novell will certify PostgreSQL for free if we get such
leakages solved. If HP will have some money for
certification I will pay this money.

Ulrich

>>> Tom Lane <tgl@sss.pgh.pa.us> 12.08.2002 18:06:17 >>>
Oh, I take that back --- I misread where you'd put the free()s.

Hmm, so the point is to reclaim memory during a shmem reinit cycle?
Might be worth doing, but I fear this is unlikely to be the only such
leakage ...

            regards, tom lane
----------------------------------
  This e-mail is virus scanned
  Diese e-mail ist virusgeprueft


В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Patch for unreleased memory in buf_init.c
Следующее
От: Neil Conway
Дата:
Сообщение: contrib/ buffer paranoia