Re: Out of memory error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Paul Smith <paulsmith(at)pobox(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Out of memory error
Date: 2009-07-06 20:34:56
Message-ID: 21217.1246912496@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Paul Smith <paulsmith(at)pobox(dot)com> writes:
> We have a query that's producing an "out of memory" error
> consistently. The detail of the error message is "Failed on request of
> size 16." We have 16 GB of RAM in our database server running 32-bit
> Debian lenny. Here's the query:
> ...
> ExecutorState: 460390096 total in 431 blocks; 8400 free (2
> chunks); 460381696 used

Clearly a memory leak, but it's not so clear exactly what's causing it.
What's that intersects() function? Can you put together a
self-contained test case?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Paul Smith 2009-07-06 20:39:18 Re: Out of memory error
Previous Message Bruce Momjian 2009-07-06 20:26:30 Re: Windows installer for pg-8.4 confusion