pl/perl problem of memory

Started by GIROIRE Nicolas (COFRAMI)about 21 years ago2 messagesgeneral
Jump to latest
#1GIROIRE Nicolas (COFRAMI)
nicolas.giroire@airbus.com

Hi,

I load data in a varible of type text, and i arrive to out of memory
message.

I want to know if it exists a function which allows to empty a variable and
the place uses in memory without destroy it (because I use the variable
again).
In fact, now i put the variable to '' ( $myvar = '' ) but it seems that Perl
don't empty totally memory.

Best regards,

Nicolas Giroire

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: GIROIRE Nicolas (COFRAMI) (#1)
Re: pl/perl problem of memory

"GIROIRE Nicolas (COFRAMI)" <nicolas.giroire@airbus.com> writes:

In fact, now i put the variable to '' ( $myvar = '' ) but it seems that Perl
don't empty totally memory.

See the nearby thread "plperl doesn't release memory". There's some
evidence that this may be due to a Perl configuration issue.

regards, tom lane