Re: [BUGS] BUG #1739: memory leak in pl/perl with spi_exec_query

2005-07-03 Thread Jean-Max Reymond
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:

Re: [BUGS] BUG #1739: memory leak in pl/perl with spi_exec_query

2005-07-03 Thread Tom Lane
"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

Re: [BUGS] BUG #1739: memory leak in pl/perl with spi_exec_query

2005-07-03 Thread Tom Lane
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

Re: [BUGS] BUG #1739: memory leak in pl/perl with spi_exec_query

2005-07-03 Thread Jean-Max Reymond
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/

Re: [BUGS] BUG #1739: memory leak in pl/perl with spi_exec_query

2005-06-30 Thread Jean-Max Reymond
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