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 1kcOkR-00076t-0O for pgsql-bugs@arkaria.postgresql.org; Tue, 10 Nov 2020 08:11:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kcOkP-00034A-TC for pgsql-bugs@arkaria.postgresql.org; Tue, 10 Nov 2020 08:11:25 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcOkP-000343-NL for pgsql-bugs@lists.postgresql.org; Tue, 10 Nov 2020 08:11:25 +0000 Received: from excelsior.roeckx.be ([2a05:7300:0:100::3]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcOkN-0005dP-IJ for pgsql-bugs@lists.postgresql.org; Tue, 10 Nov 2020 08:11:24 +0000 Received: from intrepid.roeckx.be (localhost [127.0.0.1]) by excelsior.roeckx.be (Postfix) with ESMTP id E61D5A8A0077; Tue, 10 Nov 2020 08:11:20 +0000 (UTC) Received: by intrepid.roeckx.be (Postfix, from userid 1000) id CF4B31FE0DC8; Tue, 10 Nov 2020 09:11:20 +0100 (CET) Date: Tue, 10 Nov 2020 09:11:20 +0100 From: Kurt Roeckx To: Andres Freund Cc: Tom Lane , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16707: Memory leak Message-ID: <20201110081120.GF391173@roeckx.be> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201110043127.sfkyvvjqy7x3er5k@alap3.anarazel.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, Nov 09, 2020 at 08:31:27PM -0800, Andres Freund wrote: > As this is on a halfway recent linux, I suggest doing something like > > $ grep ^Rss /proc/$pid/status > RssAnon: 6664 kB > RssFile: 69512 kB > RssShmem: 15788 kB RssAnon: 1197064 kB RssFile: 27420 kB RssShmem: 4248052 kB Kurt