Don't ask to ask, just ask | |
PerlMonks |
Re^4: Out of Memory Error -- Possible Leak?by Anonymous Monk |
on Dec 16, 2005 at 01:19 UTC ( [id://517118]=note: print w/replies, xml ) | Need Help?? |
Okay, I'm curious: does this matter? In my case the foreach loop is going over arrays that have ~100 elements. In this case, I would have expected the maximum memory usage to be 100 x (element-size + over-head). That doesn't seem too large, but it assumes that all memory is getting smoothly cleared after the foreach loop is finished. is that a valid assumption?
In Section
Seekers of Perl Wisdom
|
|