Re: Out of memory error - Mailing list pgsql-general

From Tom Lane
Subject Re: Out of memory error
Date
Msg-id 21217.1246912496@sss.pgh.pa.us
Whole thread Raw
In response to Out of memory error  (Paul Smith <paulsmith@pobox.com>)
Responses Re: Out of memory error
List pgsql-general
Paul Smith <paulsmith@pobox.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

pgsql-general by date:

Previous
From: Rob W
Date:
Subject: Efficiently move data from one table to another, with FK constraints?
Next
From: Paul Smith
Date:
Subject: Re: Out of memory error