[Numpy-discussion] Memory leak in signal.convolve2d? Alternative?

Robert Kern robert.kern at gmail.com
Tue Mar 9 14:57:44 EST 2010


On Tue, Mar 9, 2010 at 13:49, David Reichert <d.p.reichert at sms.ed.ac.uk> wrote:
> Hi,
>
> I just reported a memory leak with matrices, and I might have found
> another (unrelated) one in the convolve2d function:
>
> import scipy.signal
> from numpy import ones
>
> while True:
>     scipy.signal.convolve2d(ones((1,1)), ones((1,1)))

This does not leak for me using SVN versions of numpy and scipy. I
recommend upgrading.

-- 
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 NumPy-Discussion mailing list