Re: BUG #16707: Memory leak - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #16707: Memory leak
Date
Msg-id 1999972.1604957673@sss.pgh.pa.us
Whole thread Raw
In response to BUG #16707: Memory leak  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re: BUG #16707: Memory leak
List pgsql-bugs
PG Bug reporting form <noreply@postgresql.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



pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #16707: Memory leak
Next
From: Kurt Roeckx
Date:
Subject: Re: BUG #16707: Memory leak