Re: Out of memory with "create extension postgis" - Mailing list pgsql-general

From Tom Lane
Subject Re: Out of memory with "create extension postgis"
Date
Msg-id 1183741.1595944647@sss.pgh.pa.us
Whole thread Raw
In response to Out of memory with "create extension postgis"  ("Daniel Westermann (DWE)" <daniel.westermann@dbi-services.com>)
Responses Re: Out of memory with "create extension postgis"
List pgsql-general
"Daniel Westermann (DWE)" <daniel.westermann@dbi-services.com> writes:
> we have a very strange behavior on PostgreSQL 12.3 when we try to create the extension postgis. Postgres and postgis
haveboth been installed from packages: 
> ...
> The process eats all the available memory and finally dies:
> # create extension postgis;
> ERROR:  out of memory
> DETAIL:  Failed on request of size 8265691 in memory context "PortalContext".
> Time: 773569.877 ms (12:53.570)

Quite odd.  There should have been a memory context dump written to the
postmaster's stderr, can you show that?  Also possibly useful would be
a backtrace (set a breakpoint at errfinish):

https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_backend

            regards, tom lane



pgsql-general by date:

Previous
From: Scott Ribe
Date:
Subject: Re: is JIT available
Next
From: Shaozhong SHI
Date:
Subject: Re: Issues of slow running queries when dealing with Big Data