Memory leaks for large objects

Поиск
Список
Период
Сортировка
От Maurice Gittens
Тема Memory leaks for large objects
Дата
Msg-id 00f901bd3af3$1bdd6500$fcf3b2c2@caleb..gits.nl
обсуждение исходный текст
Ответы Re: [HACKERS] Memory leaks for large objects  (Peter T Mount <psqlhack@maidast.demon.co.uk>)
Список pgsql-hackers
Ok,

I think large objects are leaking memory because the large object functions
in the backend use their own GlobalMemoryContext (called Filesystem), which
(according to a quick grep) is never freed.

Supposing this is true and I ensure that the large object subsystem always
uses the current memory context for it's memory allocations.

What might go wrong? (Or why did the designers decide to use a
GlobalMemoryContext for large objects?).

I simple don't understand why one would create a special memory context
for large objects without some special reason.
Or should I just try it and see is anything breaks?

Thanks for any comments.
Maurice



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

Предыдущее
От: "Vadim B. Mikheev"
Дата:
Сообщение: Re: AW: [HACKERS] Re: Subselects open issue Nr. 5
Следующее
От: "Frederick W. Reimer"
Дата:
Сообщение: RE: [HACKERS] Re: [PORTS] v6.3 release ToDo list and supported p