Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: 5.6->5.8 Analysis

by PotPieMan (Hermit)
on Jul 13, 2003 at 14:58 UTC ( [id://273786]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: 5.6->5.8 Analysis
in thread 5.6->5.8 Analysis

I seriously doubt that this would cause a memory leak, but that code sample suggests that $id and $data aren't needed outside the while loop. I always try to put variables in the innermost scope that they are needed.

--PotPieMan

Replies are listed 'Best First'.
Re: Re^3: 5.6->5.8 Analysis
by doorslam (Beadle) on Jul 14, 2003 at 13:35 UTC
    I'd have thought so too, but the program hangs on one record, and I can bring up top and watch the process start eating memory until the machine hangs.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-24 10:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found