Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lTbBd-000714-2d for pgsql-general@arkaria.postgresql.org; Tue, 06 Apr 2021 02:11:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lTbBb-0005sy-V5 for pgsql-general@arkaria.postgresql.org; Tue, 06 Apr 2021 02:11:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lTbBb-0005sr-Ng for pgsql-general@lists.postgresql.org; Tue, 06 Apr 2021 02:11:23 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lTbBZ-0000sT-AI for pgsql-general@lists.postgresql.org; Tue, 06 Apr 2021 02:11:23 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 1362BI4A940510; Mon, 5 Apr 2021 22:11:19 -0400 From: Tom Lane To: Stephan Knauss cc: "pgsql-generallists.postgresql.org" Subject: Re: Debugging leaking memory in Postgresql 13.2/Postgis 3.1 In-reply-to: <699cb370-17b8-3e72-02fe-1f96d494dfd7@stephans-server.de> References: <9f73e655-14b8-feaf-bd66-c0f506224b9e@stephans-server.de> <2919657.1617129981@sss.pgh.pa.us> <6ea52e56-b401-7716-f592-a8fdc98df667@stephans-server.de> <3269480.1617215050@sss.pgh.pa.us> <699cb370-17b8-3e72-02fe-1f96d494dfd7@stephans-server.de> Comments: In-reply-to Stephan Knauss message dated "Mon, 05 Apr 2021 09:23:23 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <940508.1617675078.1@sss.pgh.pa.us> Date: Mon, 05 Apr 2021 22:11:18 -0400 Message-ID: <940509.1617675078@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Stephan Knauss writes: > On 31.03.2021 20:24, Tom Lane wrote: >> Based on nearby threads, it occurs to me to ask whether you have JIT >> enabled, and if so whether turning it off helps. There seems to be >> a known leak of the code fragments generated by that in some cases. > That's it! > You mentioned that this seems to be known. Do you have pointers to the > relevant bug-tracker/thread? I would like to follow up on this. According to the v14 open issues page [1], there are a couple of older threads. I just added this one. regards, tom lane [1] https://wiki.postgresql.org/wiki/PostgreSQL_14_Open_Items