> On Tue, 18 Apr 2000, Stas Bekman wrote:
>  
> > What do you say? 1003520 bytes are returned to OS when @x goes out of
> > scope. Note that this doesn't happen if you use a global @x instead.
> 
> because under linux Perl defaults to system malloc:
> % perl -V:usemymalloc
> usemymalloc='n';
> 
> if usemymalloc='y', then Perl uses Perl's malloc, in which case memory is
> not returned to the os.

Does that mean that there is a reason to use the usemymalloc='n' to make
the memory footprint smaller? Or the realloc from the next invocation will
just waste the time, because the memory was freed?


______________________________________________________________________
Stas Bekman             | JAm_pH    --    Just Another mod_perl Hacker
http://stason.org/      | mod_perl Guide  http://perl.apache.org/guide 
mailto:[EMAIL PROTECTED]  | http://perl.org    http://stason.org/TULARC/
http://singlesheaven.com| http://perlmonth.com http://sourcegarden.org
----------------------------------------------------------------------

Reply via email to