Re: A potential memory leak on Merge Join when Sort node is not below Materialize node

From: Önder Kalacı <onderkalaci(at)gmail(dot)com>
To: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: A potential memory leak on Merge Join when Sort node is not below Materialize node
Date: 2022-09-28 17:23:53
Message-ID: CACawEhVj97M4KfOYA8hbvrh3dudiGGCfY-UniNyJX83g+UhSig@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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,
Onder KALACI

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ranier Vilela 2022-09-28 17:29:57 Re: A potential memory leak on Merge Join when Sort node is not below Materialize node
Previous Message Aleksander Alekseev 2022-09-28 17:14:23 Refactor UnpinBuffer()