Re: [PATCHES] Patch for SPI subtransaction memory leakage

2006-11-09 Thread Simon Riggs
On Fri, 2006-11-03 at 00:40 -0500, Tom Lane wrote: > I noticed a gripe about plpgsql exceptions leaking memory: > http://archives.postgresql.org/pgsql-performance/2006-11/msg00032.php > (woulda been nice if he'd reported it more formally, but whatever.) > > Some experimentation shows that there is

Re: [PATCHES] Patch for SPI subtransaction memory leakage

2006-11-09 Thread Tom Lane
"Simon Riggs" <[EMAIL PROTECTED]> writes: > On Fri, 2006-11-03 at 00:40 -0500, Tom Lane wrote: >> Some experimentation shows that there is indeed an issue, eg this >> function leaks about 16K per iteration in HEAD: > So at 10,000 tpm that leaks a GB of RAM every 7 minutes. Uh, no, because it's on