[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: After retrieving data from DB, the memory doesn't seem to be freed up


--- Perrin Harkins <suppressed> wrote:

> On 5/10/07, Andy Armstrong <suppressed> wrote:
> > Unless I'm misunderstanding you that's not true.
> When a value's
> > reference count goes to zero the memory is freed -
> at least to Perl
> > if not to the OS.
> 
> No, it's not.  I know it's counter-intutive, but
> this is a feature of
> Perl, and the behavior has been discussed and
> confirmed a number of
> times, both on this list and on perlmonks.org.
> 
> - Perrin
> 

hm. lexical variable release memory to perl. but
reference doesn't..

can someone confirm on this or pass a link related to
it? 

James.


       
____________________________________________________________________________________You snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.