Re: A potential memory leak on Merge Join when Sort node is not below Materialize node - Mailing list pgsql-hackers

From Ranier Vilela
Subject Re: A potential memory leak on Merge Join when Sort node is not below Materialize node
Date
Msg-id CAEudQAp36X3KjejwmcdSbuOSA3Q1FQJrxD0yoey03aSPS+hk2w@mail.gmail.com
Whole thread Raw
In response to Re: A potential memory leak on Merge Join when Sort node is not below Materialize node  (Önder Kalacı <onderkalaci@gmail.com>)
List pgsql-hackers
Em qua., 28 de set. de 2022 às 14:24, Önder Kalacı <onderkalaci@gmail.com> escreveu:
Hi,

Thanks for replying so quickly!

I run your test here with a fix attached.

Can you retake your test with the patch attached?


Unfortunately, with the patch, I still see the memory usage increase and get the OOMs
Thanks for sharing the result.

regards,
Ranier Vilela

pgsql-hackers by date:

Previous
From: Önder Kalacı
Date:
Subject: Re: A potential memory leak on Merge Join when Sort node is not below Materialize node
Next
From: Tom Lane
Date:
Subject: Re: A potential memory leak on Merge Join when Sort node is not below Materialize node