Don't ask to ask, just ask | |
PerlMonks |
Re: Out of Memory Error -- Possible Leak?by ok (Beadle) |
on Dec 14, 2005 at 23:44 UTC ( [id://516808]=note: print w/replies, xml ) | Need Help?? |
When processing ginormous data sets, try to use while instead of for.
for wants to load the entire dataset into memory but while wants to load each datum as you request it.
In Section
Seekers of Perl Wisdom
|
|