No such thing as a small change | |
PerlMonks |
Re: Open, While and memory managementby nardo (Friar) |
on Oct 16, 2001 at 23:31 UTC ( [id://119229]=note: print w/replies, xml ) | Need Help?? |
I can not recreate this. When testing with a 1 million line logfile both perl5.005_03 and perl5.6.0 use 4k more memory for the first example than the second. When you try removing code from within the while loop do you still experience the leak? If not, you may try adding code until the leak is back then taking a closer look at that.
In Section
Seekers of Perl Wisdom
|
|