Re: BUG #16707: Memory leak
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Kurt Roeckx <kurt@roeckx.be>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-bugs@lists.postgresql.org
Date: 2020-11-11T01:38:08Z
Lists: pgsql-bugs
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... - Andres
Commits
-
llvmjit: Use explicit LLVMContextRef for inlining
- 3b991f81c457 12.18 landed
- 10912f7d4ff0 13.14 landed
- 75a20a4b4b44 14.11 landed
- aef521849b68 15.6 landed
- 2cf50585e54a 16.2 landed
- 9dce22033d5d 17.0 landed