From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: is there still a memory leak with hash joins in PG 12.11 ?
Date: Wed, 28 Sep 2022 13:13:06 +0200
Message-ID: <20220928111306.rslbso5vtcjcoilt@alvherre.pgsql> (raw)
In-Reply-To: <ac4708e6228f4529857007e3efc0a1b8@zuerich.ch>
On 2022-Sep-28, Zwettler Markus (OIZ) wrote:
> I found this blog post talking about a memory leak having hash joins due to a larger work_mem.
> https://gist.github.com/luhn/2b35a9b31255e3a6a2e6a06d1213dfc9
Oh dear, is that what passes for a blog post these days?
> Does anyone know if this problem is still there in PG 12.11 ?
It wasn't there in 9.5, so it seems safe to believe it isn't in 12.11.
> We are running on PG 12.11.
> We recognized an evergrowing memory usage.
>
> work_mem = 50M
> there are some regularly hash joins.
I think it's more likely that this is a new, different bug (assuming it
is a bug at all). But you'd have to provide more details in order to
track it down.
--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
"El Maquinismo fue proscrito so pena de cosquilleo hasta la muerte"
(Ijon Tichy en Viajes, Stanislaw Lem)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: alvherre@alvh.no-ip.org, Markus.Zwettler@zuerich.ch
Subject: Re: is there still a memory leak with hash joins in PG 12.11 ?
In-Reply-To: <20220928111306.rslbso5vtcjcoilt@alvherre.pgsql>
References: <ac4708e6228f4529857007e3efc0a1b8@zuerich.ch> <20220928111306.rslbso5vtcjcoilt@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox