Re: [HACKERS] 6.1 progress

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] 6.1 progress
Дата
Msg-id 12d266b70f84304ce2b6af1061226b7d
обсуждение
Ответ на [HACKERS] 6.1 progress  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-hackers
>
> Well, one of the leaks that Purify detected was that individual lines read
> from files were malloc'ed but not freed properly. So, if a line is
> malloc'ed to about 8K (and we are reading thousands of lines in COPY reg
> test I believe) and is not freed before next line is read, we get
> significant memory usage... Plus adding all other leaks we get into major
> problems...
>
> I fixed the 'lines' leak so we shall see what happens...The backend should
> be interesting...

Because of the postgresql memory manager, some of the leaks are
auto-cleaned after every statement/transaction, so it may not be too
bad.  Or it may be.

- --
Bruce Momjian
maillist@candle.pha.pa.us

------------------------------

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