[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: few newbie quesitons..
From:       "Perrin Harkins" <perrin () elem ! com>
Date:       2007-05-29 19:28:47
Message-ID: 66887a3d0705291228l6696363ag99de9c7dda2915c5 () mail ! gmail ! com
[Download RAW message or body]

On 5/29/07, Jay Buffington <jaybuffington@gmail.com> wrote:
> On 5/6/07, Perrin Harkins <perrin@elem.com> wrote:
> > On 5/6/07, James. L <perlwle@yahoo.com> 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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic