> 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 ----------------------------------------------------------------------
- Re: Modperl/Apache deficiencies... Memory usage. Ken Williams
- Re: Modperl/Apache deficiencies... Memory usage. Perrin Harkins
- Re: Modperl/Apache deficiencies... Memory usage. shane
- Re: Modperl/Apache deficiencies... Memory usage... Stas Bekman
- Re: Modperl/Apache deficiencies... Memory u... shane
- Re: Modperl/Apache deficiencies... Memo... Gunther Birznieks
- Re: Modperl/Apache deficiencies...... Leslie Mikesell
- Re: Modperl/Apache deficiencie... Gunther Birznieks
- shrinking memory (was Re: Modp... Stas Bekman
- Re: shrinking memory (was Re: ... Doug MacEachern
- Re: Modperl/Apache deficiencie... Stas Bekman
- Re: Modperl/Apache deficiencie... Matt Sergeant
- Re: Modperl/Apache deficiencies...... shane
- Re: Modperl/Apache deficiencie... Perrin Harkins
- Re: Modperl/Apache deficiencie... shane
- Re: Modperl/Apache deficiencie... Jim Winstead
- Re: Modperl/Apache deficiencie... shane
- Re: Modperl/Apache deficiencie... shane
- Re: Modperl/Apache deficiencie... Jason Terry
- Re: Modperl/Apache deficiencie... shane
- Re: Modperl/Apache deficiencie... Ken Williams