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

David Reichert d.p.reichert@sms.ed.ac...
Tue Mar 9 13:49:53 CST 2010


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)))

Is there an alternative implementation of a 2d convolution? On the long
run I'd be interested in using GPU acceleration, but for now I'd just
like to get my code to run without running out of memory...


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100309/768a2888/attachment-0001.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
Url: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100309/768a2888/attachment-0001.pl 

More information about the NumPy-Discussion mailing list