pg.ddx.io pgsql-hackers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@enterprisedb.com>
To: Justin Pryzby <pryzby@telsasoft.com>
Cc: Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
Cc: pgsql-hackers@lists.postgresql.org, Melanie Plageman <melanieplageman@gmail.com>
Subject: Re: Memory leak from ExecutorState context?
Date: Mon, 20 Mar 2023 09:32:17 +0100
Message-ID: <455abe0e-91b2-f428-6f4c-b95c7c8dfb52@enterprisedb.com> (raw)
In-Reply-To: <ZBdjJ8l3CNmBZUg0@telsasoft.com>
References: <3013398b-316c-638f-2a73-3783e8e2ef02@enterprisedb.com>
<20230302001827.66e95dc3@karst>
<41c5766d-ed71-b70c-bbbc-d3396c462d62@enterprisedb.com>
<20230302130838.717e888d@karst>
<77a96d42-00cb-2448-465a-aa1e92d00cac@enterprisedb.com>
<20230302191530.781909fe@karst>
<dbae24d7-0dda-18aa-5e08-8138ac1caef9@enterprisedb.com>
<20230310195114.6d0c5406@karst>
<20230317091834.22e97642@karst>
<ae017eef-79d5-fcd6-b865-b7e55ac5290b@enterprisedb.com>
<ZBdjJ8l3CNmBZUg0@telsasoft.com>
On 3/19/23 20:31, Justin Pryzby wrote:
> On Fri, Mar 17, 2023 at 05:41:11PM +0100, Tomas Vondra wrote:
>>>> * Patch 2 is worth considering to backpatch
>>
>> I'm not quite sure what exactly are the numbered patches, as some of the
>> threads had a number of different patch ideas, and I'm not sure which
>> one was/is the most promising one.
>
> patch 2 is referring to the list of patches that was compiled
> https://www.postgresql.org/message-id/20230310195114.6d0c5406%40karst
Ah, I see - it's just the "rebalancing" patch which minimizes the total
amount of memory used (i.e. grow work_mem a bit, so that we don't
allocate too many files).
Yeah, I think that's the best we can do without reworking how we spill
data (slicing or whatever).
regards
--
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
view thread (60+ messages) latest in thread
Message-ID: <455abe0e-91b2-f428-6f4c-b95c7c8dfb52@enterprisedb.com> Permalink: ../455abe0e-91b2-f428-6f4c-b95c7c8dfb52@enterprisedb.com/ Also on: postgresql.org/message-id/455abe0e-91b2-f428-6f4c-b95c7c8dfb52@enterprisedb.com ·
reply
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 using the --to and --cc options: reply via email To: pgsql-hackers@postgresql.org Cc: tomas.vondra@enterprisedb.com, pryzby@telsasoft.com, jgdr@dalibo.com, melanieplageman@gmail.com Subject: Re: Memory leak from ExecutorState context? In-Reply-To: <455abe0e-91b2-f428-6f4c-b95c7c8dfb52@enterprisedb.com> * 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