Re: BUG #17844: Memory consumption for memoize node
David Rowley <dgrowleyml@gmail.com>
From: David Rowley <dgrowleyml@gmail.com>
To: Alexey Ermakov <alexey.ermakov@dataegret.com>
Cc: pgsql-bugs@lists.postgresql.org
Date: 2023-03-20T20:36:26Z
Lists: pgsql-bugs
On Mon, 20 Mar 2023 at 19:23, Alexey Ermakov <alexey.ermakov@dataegret.com> wrote: > Thanks a lot! Could you please point me in the direction how to get such > memory stats ? I might know another memory leak I'd like to check but > sadly I don't know right tools to measure memory usage. I attached to the backend with a debugger and set a breakpoint in ExecEndMemoize. When the breakpoint was hit, using the debugger, I executed MemoryContextStatsDetail(TopMemoryContext, 100, 1) and grabbed the memory statistics output from the log. David
Commits
-
Have the planner account for the Memoize cache key memory
- 785f7095767e 16.0 landed
-
Fix memory leak in Memoize cache key evaluation
- f654f343c6a8 14.8 landed
- 8de4660a57e6 15.3 landed
- 579ee5df14df 16.0 landed