Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1if5Av-0006e5-4B for pgsql-bugs@arkaria.postgresql.org; Wed, 11 Dec 2019 16:49:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1if5At-0006td-P7 for pgsql-bugs@arkaria.postgresql.org; Wed, 11 Dec 2019 16:49:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1if5At-0006tW-H5 for pgsql-bugs@lists.postgresql.org; Wed, 11 Dec 2019 16:49:19 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1if5Ar-0004Fo-Be for pgsql-bugs@lists.postgresql.org; Wed, 11 Dec 2019 16:49:19 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id xBBGnADX018070; Wed, 11 Dec 2019 11:49:10 -0500 From: Tom Lane To: Roman Cervenak cc: Tomas Vondra , pgsql-bugs@lists.postgresql.org Subject: Re: Memory leak (possibly connected to postgis) leading to server crash In-reply-to: References: <20191206110154.v7yshqsn32zyxx4q@development> <20191206124119.qe2xaffcbkcbmve3@development> Comments: In-reply-to Roman Cervenak message dated "Wed, 11 Dec 2019 12:09:11 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <18068.1576082949.1@sss.pgh.pa.us> Date: Wed, 11 Dec 2019 11:49:09 -0500 Message-ID: <18069.1576082949@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Roman Cervenak writes: > I am trying to do > (gdb) p MemoryContextStats(TopMemoryContext) I think what you wanted to do is "call MemoryContextStats(TopMemoryContext)". "p" means "print". regards, tom lane