From: | David Rowley <dgrowleyml(at)gmail(dot)com> |
---|---|
To: | Alexey Ermakov <alexey(dot)ermakov(at)dataegret(dot)com> |
Cc: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | Re: BUG #17844: Memory consumption for memoize node |
Date: | 2023-03-20 20:36:26 |
Message-ID: | CAApHDvru7gNXK7Tkrns-wTdovn5Gjj7JnkUSpicc+dZwGooVYA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Mon, 20 Mar 2023 at 19:23, Alexey Ermakov
<alexey(dot)ermakov(at)dataegret(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Jacob Champion | 2023-03-20 22:51:28 | Re: pg_dump needs SELECT privileges on irrelevant extension table |
Previous Message | Jacob Champion | 2023-03-20 18:23:54 | Re: pg_dump needs SELECT privileges on irrelevant extension table |