pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
is there still a memory leak with hash joins in PG 12.11 ?
2+ messages / 2 participants
[nested] [flat]

* is there still a memory leak with hash joins in PG 12.11 ?
@ 2022-09-28 08:29  Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
  0 siblings, 1 reply; 2+ messages in thread

From: Zwettler Markus (OIZ) @ 2022-09-28 08:29 UTC (permalink / raw)
  To: pgsql-general

Hi,

We are running on PG 12.11.
We recognized an evergrowing memory usage.

work_mem = 50M
there are some regularly hash joins.

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

Does anyone know if this problem is still there in PG 12.11 ?

Thanks,
Markus

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: is there still a memory leak with hash joins in PG 12.11 ?
@ 2022-09-28 11:13  Alvaro Herrera <alvherre@alvh.no-ip.org>
  parent: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2022-09-28 11:13 UTC (permalink / raw)
  To: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>; +Cc: pgsql-general

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)





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2022-09-28 11:13 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-09-28 08:29 is there still a memory leak with hash joins in PG 12.11 ? Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
2022-09-28 11:13 ` Alvaro Herrera <alvherre@alvh.no-ip.org>

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