[postgis-devel] && leaks
strk
strk at keybit.net
Wed Mar 10 04:07:02 PST 2004
On Mon, Mar 08, 2004 at 07:27:26PM -0800, Dave Blasby wrote:
(cuts)
> You mentioned the compress function as another place it could be leaking. Its
> more difficult to tell exactly how its leaking because the line:
>
> gistentryinit(*retval, PointerGetDatum(r), entry->rel, entry->page,
> entry->offset, sizeof(BOX), FALSE);
>
>
> hides when the actual BOX (r) gets written to disk and can be pfreed. I'll
> have to look and see tomorrow.
>
> If you find/suspect any more leaks, let me know.
>
> dave
After your patch applyed I found the leakage to happen at index
creation time. If you create a gist index, then drop it,
and start again, the postgres proces will growing over and over
in size.
--strk;
More information about the postgis-devel
mailing list