Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Open, While and memory management

by nardo (Friar)
on Oct 16, 2001 at 23:31 UTC ( #119229=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://119229]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2022-05-29 05:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?