Don't ask to ask, just ask | |
PerlMonks |
Re^4: Loading Large files eats away Memoryby ivancho (Hermit) |
on May 26, 2005 at 10:37 UTC ( [id://460606]=note: print w/replies, xml ) | Need Help?? |
this doesn't work for me.. it takes up 56MB when we tie it, but then it seems the sequential access to 100_000 etc, eats memory along the way.. by the <STDIN> line my perl is on 95MB.. read and write seem to eat separately - if I'm evil and ask for $lines[-1] and then write to it, it gets up to 200MB - worse than splitting the slurp...
In Section
Seekers of Perl Wisdom
|
|