http://qs321.pair.com?node_id=119229


in reply to Open, While and memory management

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.

Replies are listed 'Best First'.
Re: Re: Open, While and memory management
by matthew (Acolyte) on Oct 16, 2001 at 23:38 UTC
    It occurred on FreeBSD 3.2 with perl 5.005_03.
    The leak still occurred with all code within the loop removed.