Re: Memory Leaks in plpgsql in 7.0.2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: chris(at)aims(dot)com(dot)au
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Memory Leaks in plpgsql in 7.0.2
Date: 2000-08-21 05:52:42
Message-ID: 26906.966837162@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Chris Knight" <chris(at)aims(dot)com(dot)au> writes:
> I've found I've had to do a lot of plpgsql rewriting to avoid memory
> exhaustion due to calling the functions multiple times in the one session.

I believe this has probably been fixed already by the memory context
changes I've been working on --- I think that space allocated in PL
functions will now be reclaimed once per tuple not once per query.
Would you mind trying your problem cases with a current snapshot?

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Moses 2000-08-21 07:42:43 FW: Hi , Semaphore problem --Pl. F1
Previous Message Tom Lane 2000-08-21 05:30:23 Re: regex back-references?