Re: BUG #1739: memory leak in pl/perl with spi_exec_query

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #1739: memory leak in pl/perl with spi_exec_query
Дата
Msg-id 20265.1120426080@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #1739: memory leak in pl/perl with spi_exec_query  (Jean-Max Reymond <jmreymond@ckr-solutions.com>)
Список pgsql-bugs
Jean-Max Reymond <jmreymond@ckr-solutions.com> writes:
> I have run again my real plperl procedure and attach a gdb to the process.
> a call MemoryContextStats(TopMemoryContext) gives me the results as above.

> SPI Proc: 1015013376 total in 130 blocks; 1893336 free (0 chunks);
> 1013120040 used

Well, that says it's definitely a bug in plperl, not some weird
Perl/malloc interaction as I thought previously.  Probably plperl
is failing to release SPI queries when done with them.  Any plperl
people want to take a look?

            regards, tom lane

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

Предыдущее
От: Jean-Max Reymond
Дата:
Сообщение: Re: BUG #1739: memory leak in pl/perl with spi_exec_query
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #1739: memory leak in pl/perl with spi_exec_query