GiST memory usage

From: strk(at)refractions(dot)net
To: pgsql-hackers(at)postgresql(dot)org
Subject: GiST memory usage
Date: 2005-08-13 11:12:30
Message-ID: 20050813111230.GA27975@keybit.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all.
I've been reported memory limit hits
during a postgis index construction
(GiST index).

The indexed tuples are about 425 millions.
The index key is a box2d object (4*sizeof(float)).

The machine has 4 Gb of RAM, and operations are
peaked at ~2.4 Gb of usage.

Is there a way to detect where is memory hold ?

Is there an index-specific memory context for use
to early release memory blocks allocated during
operations (didn't see any use of memory contexts
in the contrib/rtree_gist) ?

TIA

--strk;

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message strk 2005-08-13 11:43:52 Re: GiST memory usage
Previous Message Bernd Helmle 2005-08-13 09:58:15 Re: Bug in ALTER TABLE/SEQUENCE OWNER TO