[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


Lionel MARTIN wrote:

> I'll see what I can do when the problem arises, but of course, I now
> know I should better avoid loading too much data in RAM at once, because
> of data persistance.

Not to be too picky, but just so it's clear to everyone and to future readers of
the archives:

The issue we're discussing is not "data persistance". Data persistance is when
the data sticks around between requests. When lexicals go out of scope the data
disappears. It's the actual system memory being reserved by Perl for future use
of that variable that sticks around.

-- 
Michael Peters
Developer
Plus Three, LP


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