Re: BUG #16707: Memory leak

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: kurt(at)roeckx(dot)be
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16707: Memory leak
Date: 2020-11-09 21:34:33
Message-ID: 1999972.1604957673@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> It seems that since I switched from PostgreSQL 9.5 to 12, I started to have
> a memory leak.

Could you maybe collect a memory map from one of the bloated processes?
It'd go something like

* attach to process with gdb

* "call MemoryContextStats(TopMemoryContext)"

* quit gdb

* look in postmaster log for memory dump

You probably need to have debug symbols installed for step 2 to work.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Kurt Roeckx 2020-11-09 22:03:29 Re: BUG #16707: Memory leak
Previous Message PG Bug reporting form 2020-11-09 21:07:21 BUG #16707: Memory leak