From: Andres Freund <andres@anarazel.de>
To: Jaime Casanova <jcasanov@systemguards.com.ec>
Cc: Kurt Roeckx <kurt@roeckx.be>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16707: Memory leak
Date: Wed, 07 Apr 2021 09:31:54 -0700
Message-ID: <7acc8678-df5f-4923-9cf6-e843131ae89d@www.fastmail.com> (raw)
In-Reply-To: <20210407162835.GB2857@ahch-to>
References: <16707-f5df308978a55bf8@postgresql.org>
<1999972.1604957673@sss.pgh.pa.us>
<20201109220329.GC391173@roeckx.be>
<2002012.1604960437@sss.pgh.pa.us>
<20201110043127.sfkyvvjqy7x3er5k@alap3.anarazel.de>
<20201110081120.GF391173@roeckx.be>
<20201110193517.t5hbqkya67gb23rq@alap3.anarazel.de>
<20201110195039.GG391173@roeckx.be>
<20201110224516.GA568918@roeckx.be>
<20201111013808.4cev55uxq32bd6dd@alap3.anarazel.de>
<20210407162835.GB2857@ahch-to>
Hi,
On Wed, Apr 7, 2021, at 09:28, Jaime Casanova wrote:
> On Tue, Nov 10, 2020 at 05:38:08PM -0800, Andres Freund wrote:
> > Hi,
> >
> > On 2020-11-10 23:45:16 +0100, Kurt Roeckx wrote:
> > > On Tue, Nov 10, 2020 at 08:50:39PM +0100, Kurt Roeckx wrote:
> > > > > There's one known (slow) memory leak in the JIT code / LLVM. Could you
> > > > > check if the issue vanishes if you disable JIT (jit = 0)?
> > > >
> > > > I've just restarted it with jit = 0.
> > >
> > > It's been about 3 hours since the restart, and it looks much
> > > better, it seems to be solved.
> >
> > Hm, darn. Any chance you could check if the leak is present if you turn
> > on jit again, but disable inlining with jit_inline_above_cost=-1? If
> > that still fixes the leak I think I know the issue / have a reproducer
> > already...
> >
>
> I was bit by this too while testing something. I thought it could have been
> a problem caused by the support of llvm 12? but given that this report
> is for pg12, it seems this is older than that.
I hope to fix it soon - I have two different mostly working fixes. I'll get back to it once the dust around the freeze settles.
Andres
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-bugs@postgresql.org
Cc: andres@anarazel.de, jcasanov@systemguards.com.ec, kurt@roeckx.be, tgl@sss.pgh.pa.us, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16707: Memory leak
In-Reply-To: <7acc8678-df5f-4923-9cf6-e843131ae89d@www.fastmail.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