Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^3: 5.6->5.8 Analysis

by PotPieMan (Hermit)
on Jul 13, 2003 at 14:58 UTC ( #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.


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?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2021-04-12 19:41 GMT
Find Nodes?
    Voting Booth?

    No recent polls found