SnapBuildSerialize function forgot pfree variable ondisk_c - Mailing list pgsql-bugs

From 范孝剑(康贤)
Subject SnapBuildSerialize function forgot pfree variable ondisk_c
Date
Msg-id 033ab54c-6393-42ee-8ec9-2b399b5d8cde.funnyxj.fxj@alibaba-inc.com
Whole thread Raw
Responses Re: SnapBuildSerialize function forgot pfree variable ondisk_c
List 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 by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #16702: inline code and function : when use dynamic name for rowtype, there is some bug!
Next
From: Pavel Stehule
Date:
Subject: Re: BUG #16702: inline code and function : when use dynamic name for rowtype, there is some bug!