Re: out of memory during query execution - Mailing list pgsql-general

From Tom Lane
Subject Re: out of memory during query execution
Date
Msg-id 29396.1135005714@sss.pgh.pa.us
Whole thread Raw
In response to out of memory during query execution  (DANTE ALEXANDRA <ALEXANDRA.DANTE@BULL.NET>)
Responses Re: out of memory during query execution
List pgsql-general
DANTE ALEXANDRA <ALEXANDRA.DANTE@BULL.NET> writes:
> I am a PostGreSQL newbie. I work with the 8.1.0 release on AIX 5.3, with
> 300GB of datas.
> Some of the queries launched on this database finish with an "*out of
> memory*". The queries which have failed contain a lot of join (between 6
> tables), sub-select and aggregate. For these queries, the log file
> contains :
> psql:Q9.sql:40: ERROR:  out of memory
> DETAIL:  Failed on request of size 148.

Hmm ... what ulimit settings are you running the postmaster under?
Could we see the EXPLAIN plans for some of the failing queries?

            regards, tom lane

pgsql-general by date:

Previous
From: salah jubeh
Date:
Subject: libpq++ installation error
Next
From: Emil Rachovsky
Date:
Subject: Question on indexes