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 1k1AJt-0003eF-Fn for pgsql-general@arkaria.postgresql.org; Thu, 30 Jul 2020 15:18:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k1AJs-0001Lf-Ad for pgsql-general@arkaria.postgresql.org; Thu, 30 Jul 2020 15:18:08 +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 1k1AJs-0001LY-2m for pgsql-general@lists.postgresql.org; Thu, 30 Jul 2020 15:18:08 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k1AJm-0008JD-7h for pgsql-general@lists.postgresql.org; Thu, 30 Jul 2020 15:18:07 +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 06UFHvO91427938; Thu, 30 Jul 2020 11:17:57 -0400 From: Tom Lane To: "Daniel Westermann (DWE)" cc: "pgsql-general@lists.postgresql.org" Subject: Re: Out of memory with "create extension postgis" In-reply-to: References: ,<1183741.1595944647@sss.pgh.pa.us> ,<1193682.1595948121@sss.pgh.pa.us>, ,<1316850.1596035116@sss.pgh.pa.us> Comments: In-reply-to "Daniel Westermann (DWE)" message dated "Thu, 30 Jul 2020 08:57:07 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <1427936.1596122277.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 30 Jul 2020 11:17:57 -0400 Message-ID: <1427937.1596122277@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk "Daniel Westermann (DWE)" writes: >> Umm ... you didn't issue a "bt" when you got to errfinish, so there's >> no useful info here. > Here is a new one with bt at the end: That's just showing the stack when the backend is idle waiting for input. We need to capture the stack at the moment when the "out of memory" error is reported (errfinish() should be the top of stack). >> libraries to have gotten linked into a Postgres backend.=C2=A0 What >> extensions are you using? > These are the extensions in use: > plpythonu | 1.0 | pg_catalog | PL/PythonU untrusted proced= ural language Hm. If you've been actively using plpython in this session, perhaps libpython would have pulled all this other weirdness in with it. regards, tom lane