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

Robert Kern robert.kern@gmail....
Tue Mar 9 13:57:44 CST 2010


On Tue, Mar 9, 2010 at 13:49, David Reichert <d.p.reichert@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