![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Memory is not released back to operating systemby JavaFan (Canon) |
on Mar 02, 2012 at 20:33 UTC ( #957547=note: print w/replies, xml ) | Need Help?? |
Note that the layout of the used memory will be quite different. Your Foo object will use a single piece of 2 Gb of memory - while the Bar object will use 2 million pieces of about 1 kb. That will come from different pools, both on Perl, as on the OS level. And will be treated differently.
In Section
Seekers of Perl Wisdom
|
|