"Chris Ruprecht" <chrup999@yahoo.com> writes:
> The postmaster process which does this, starts out with 10 MB memory usage =
> but soon swells up to about 500 MB (on a normal day).
What Postgres version are you running?
If not 7.1.*, update and see if it gets better. We fixed a lot of
intra-statement memory leakage in 7.1 ...
regards, tom lane