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

Re: few newbie quesitons..


On 5/29/07, Jay Buffington <suppressed> wrote:
On 5/6/07, Perrin Harkins <suppressed> wrote:
> On 5/6/07, James. L <suppressed> wrote:
> > my question is
> > once the app produce the html, does the memory
> > allocated by the parsed data get released to perl?
> > that memory will be reused by other mod_perl app?
>
> No, Perl doesn't work that way.  It will keep that memory allocated
> for that variable unless you undef the variable explicitly.

It's my understanding that even if you explicitly undef a variable,
perl doesn't release the memory.

He was asking about it being released back to perl for use within the
same process, not about releasing it back to the operating system for
use in other processes.

- Perrin


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