Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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.