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
Since you are talking about garbage collection (memory shrinking) you
might want to re-read the thread I've started back in Aug, 99:
http://forum.swarthmore.edu/epigone/modperl/zarwhegerd
It includes the real show case of memory shrinking (at least on Linux).
Consider this code: