Re: out of memory during query execution

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: DANTE ALEXANDRA <ALEXANDRA(dot)DANTE(at)BULL(dot)NET>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: out of memory during query execution
Date: 2005-12-19 15:21:54
Message-ID: 29396.1135005714@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

DANTE ALEXANDRA <ALEXANDRA(dot)DANTE(at)BULL(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Emil Rachovsky 2005-12-19 15:51:58 Question on indexes
Previous Message salah jubeh 2005-12-19 15:17:01 libpq++ installation error