Syntactic Confectionery Delight | |
PerlMonks |
Re^2: Timing of garbage collectionby BrowserUk (Patriarch) |
on Jan 19, 2013 at 00:41 UTC ( [id://1014157]=note: print w/replies, xml ) | Need Help?? |
Perl doesn't have "garbage collection" in the sense that it never gives memory back to the OS. That's demonstrably not exactly true:
That shows that perl allocating a 2MB scalar and then returning that 2MB back to the OS. On my Perl/system, the break point for the size of allocations that are released back to the system is 1040351 bytes. anything more and it is; less and it is not:
That number is a around 8k less than 1MB, so presumably it is 1MB internally but then some is used for internal management. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|