Re: Lots of memory allocated when reassigning Large Objects

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Lots of memory allocated when reassigning Large Objects
Дата
Msg-id 1441514.1638221269@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Lots of memory allocated when reassigning Large Objects  (Guillaume Lelarge <guillaume@lelarge.info>)
Ответы Re: Lots of memory allocated when reassigning Large Objects  (Guillaume Lelarge <guillaume@lelarge.info>)
Список pgsql-hackers
Guillaume Lelarge <guillaume@lelarge.info> writes:
> Le lun. 29 nov. 2021 à 20:39, Tom Lane <tgl@sss.pgh.pa.us> a écrit :
>> [ looks closer ... ]  Ah, that patch is a bit buggy: it fails to do the
>> right thing in the cases where the loop does a "continue".  The attached
>> revision seems to behave properly.

> I've tried your patch with my test case. It still uses a lot of memory.
> Actually even more.

Hmm ... I tried it with your test case, and I see the backend completing
the query without going beyond 190MB used (which is mostly shared memory).
Without the patch it blows past that point very quickly indeed.

I'm checking it in HEAD though; perhaps there's something else wrong
in the back branches?

            regards, tom lane



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

Предыдущее
От: "Bossart, Nathan"
Дата:
Сообщение: Re: improve CREATE EXTENSION error message
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: improve CREATE EXTENSION error message