Tom Lane a écrit :
"Jean-Max Reymond" <[EMAIL PROTECTED]> writes:
So, spi_exec_query allocates memory but this memory is never released until
the end of the stored procedure.
Ah, found it.
OK, it solves my problem.
great job :-)
thanks a lot Tom
begin:vcard
fn:Jean-Max Reymond
n:
"Jean-Max Reymond" <[EMAIL PROTECTED]> writes:
> So, spi_exec_query allocates memory but this memory is never released until
> the end of the stored procedure.
Ah, found it.
regards, tom lane
Index: plperl.c
Jean-Max Reymond <[EMAIL PROTECTED]> writes:
> I have run again my real plperl procedure and attach a gdb to the process.
> a call MemoryContextStats(TopMemoryContext) gives me the results as above.
> SPI Proc: 1015013376 total in 130 blocks; 1893336 free (0 chunks);
> 1013120040 used
Well, that
Jean-Max Reymond a écrit :
Jean-Max Reymond a écrit :
The following bug has been logged online:
Bug reference: 1739
Logged by: Jean-Max Reymond
Email address: [EMAIL PROTECTED]
PostgreSQL version: 8.0.3
Operating system: Linux Ubuntu
Description:memory leak in pl/
Jean-Max Reymond a écrit :
The following bug has been logged online:
Bug reference: 1739
Logged by: Jean-Max Reymond
Email address: [EMAIL PROTECTED]
PostgreSQL version: 8.0.3
Operating system: Linux Ubuntu
Description:memory leak in pl/perl with spi_exec_query
Deta