Re: Out Of Memory Error on GiST Index - Mailing list pgsql-general

From Richard Huxton
Subject Re: Out Of Memory Error on GiST Index
Date
Msg-id 4316D97D.7060903@archonet.com
Whole thread Raw
In response to Out Of Memory Error on GiST Index  (James Cradock <jcradock@me3.com>)
Responses Re: Out Of Memory Error on GiST Index
List pgsql-general
James Cradock wrote:
> Hello.
>
> I'm getting an Out Of Memory error when I try to create a GiST index on
> a geometry column (PostGIS) with approximately 33,000,000 rows. I can
> truncate the data in the table, create the GiST index on the empty
> table, but when I try to reload the data via pg_restore I get the error.
> I get the error also if I try creating the GiST index on the table with
> the 33,000,000 rows.
>
> Are there limitations with the GiST index? Has anyone seen this?

I seem to remember mention of memory-leak fixes being applied to the
GiST code not too long back - might be worth checking the archives for
the bug/hackers list.

--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Howard Cole
Date:
Subject: Re: bytea or large objects?
Next
From: James Cradock
Date:
Subject: Re: Out Of Memory Error on GiST Index