Re: [PATCH] Fix memory leak in memoize for numeric key

2023-10-05 Thread David Rowley
On Wed, 4 Oct 2023 at 21:08, Orlov Aleksej wrote: > I've finished testing the patch. > I confirm that the patch solves the problem and works just as fast. Thanks for checking that. I've pushed the patch now. David

RE: [PATCH] Fix memory leak in memoize for numeric key

2023-10-04 Thread Orlov Aleksej
I've finished testing the patch. I confirm that the patch solves the problem and works just as fast. Thanks, Alexey Orlov.

Re: [PATCH] Fix memory leak in memoize for numeric key

2023-10-03 Thread David Rowley
On Tue, 3 Oct 2023 at 19:38, Orlov Aleksej wrote: > I found a query which consumes a lot of memory and triggers OOM killer. > Memory leak occurs in memoize node for numeric key. Thanks for the analysis and the patch. > I've attached memoize_memory_leak_numeric_key.patch to address this. Yeah,

[PATCH] Fix memory leak in memoize for numeric key

2023-10-02 Thread Orlov Aleksej
Hello, all! I found a query which consumes a lot of memory and triggers OOM killer. Memory leak occurs in memoize node for numeric key. Version postgresql is 14.9. The problem is very similar https://www.postgresql.org/message-id/17844-d2f6f9e75a622...@postgresql.org I attached to the backend