Re: Problem with Memory Leak

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problem with Memory Leak
Дата
Msg-id 4994.1269585490@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Problem with Memory Leak  (Pete Kay <petedao@gmail.com>)
Список pgsql-general
Pete Kay <petedao@gmail.com> writes:
> I am setting up a connection pooling obj to pool a bunch of
> PGConnection object.  That is why I am not closing the PGConn object
> when the query is done.

> Is that the right way to do it?

Well, that's fine, but you should not be complaining about some memory
associated with the PGconn not being reclaimed yet in that state.

I guess the context we are missing is why is it you are worried about
valgrind reporting a memory leak of a kilobyte or so?

            regards, tom lane

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

Предыдущее
От: Yogi Yang 007
Дата:
Сообщение: Re: How to retrieve List of Tables in a Database using...
Следующее
От: Роман Маширов
Дата:
Сообщение: Re: Avoiding deadlocks on mass delete / update