SnapBuildSerialize function forgot pfree variable ondisk_c

Поиск
Список
Период
Сортировка
От 范孝剑(康贤)
Тема SnapBuildSerialize function forgot pfree variable ondisk_c
Дата
Msg-id 033ab54c-6393-42ee-8ec9-2b399b5d8cde.funnyxj.fxj@alibaba-inc.com
обсуждение исходный текст
Ответы Re: SnapBuildSerialize function forgot pfree variable ondisk_c
Список pgsql-bugs
Hi all,
    When I tested logical decoding, I found that walsender process memory usage grow very high, by debugging,  I found SnapBuildSerialize palloc memory for variable ondisk_c, but don't pfree it at last.
So when master LogStandbySnapshot() too frequently, walsender memory will grow very high and OOM finally.

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