Re: BUG #16707: Memory leak

Kurt Roeckx <kurt@roeckx.be>

From: Kurt Roeckx <kurt@roeckx.be>
To: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-bugs@lists.postgresql.org
Date: 2020-11-11T12:14:20Z
Lists: pgsql-bugs
On Wed, Nov 11, 2020 at 10:49:18AM +0100, Kurt Roeckx wrote:
> > 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've just restarted it with
> jit=1
> jit_inline_above_cost=-1

So after more than 2 hours, I see no leak with those settings.


Kurt




Commits

  1. llvmjit: Use explicit LLVMContextRef for inlining