[SciPy-User] [SciPy-user] memory blowout in my script with mutiple iterations

Robert Kern robert.kern at gmail.com
Wed Sep 30 12:24:46 EDT 2009


On Wed, Sep 30, 2009 at 11:22, ninjasmith <henrylindsaysmith at gmail.com> wrote:
>
> hi, my first post here, hope this is the right place for this kind of
> question as I'm sure there must be a fairly simple answer to this.
>
> I have a script that is iterating a whole bunch of wav files.  reading them
> into an array in turn performing some lpc analysis on them and saving a
> bunch of specgrams and different wav generated from them.  as my script
> iterates through the files the python memeory usage creeps up and up until
> the machine starts paging.
>
> I've been through the script and del'ed all the major objects I create but
> this doesn't seem to make any difference.
>
> any thoughts on how to tackle this proble

Not without being able to see the code. Try paring down your script to
the minimal program that exhibits the large memory usage.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco



More information about the SciPy-User mailing list