Re: BUG #15700: PG 10 vs. 11: Large increase in memory usage when selecting BYTEA data (maybe memory leak)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, Matthias Otterbach <mo(at)otterbach(dot)eu>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15700: PG 10 vs. 11: Large increase in memory usage when selecting BYTEA data (maybe memory leak)
Date: 2019-03-18 21:37:41
Message-ID: 16692.1552945061@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I wrote:
> Jeff Janes <jeff(dot)janes(at)gmail(dot)com> writes:
>> The culprit is f2dec34e19d3969ddd6.

> Hmm. I bet problem is that the buf isn't being freed in
> printtup_shutdown.

Yup; the attached fixes it. Will push after a bit more testing.

regards, tom lane

Attachment Content-Type Size
fix-printtup-leak.patch text/x-diff 750 bytes

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2019-03-18 21:57:10 Re: BUG #15700: PG 10 vs. 11: Large increase in memory usage when selecting BYTEA data (maybe memory leak)
Previous Message Tomasz Szypowski 2019-03-18 20:55:21 Re: pg_upgrade