[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


On 5/11/07, James. L <suppressed> wrote:
hm. lexical variable release memory to perl. but
reference doesn't..

No, that isn't what I was saying, and you're mixing separate concepts
together.  A lexical variable can be a reference.  You can have a
reference to a lexical variable.  They are not opposing things.

The p5p references already posted in this thread are the best place to
read up if you want more information about the memory behavior of
Perl's garbage collection.

- Perrin


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