[Numpy-discussion] memory leak w/ numpy & Numeric together

Bryan Cole bryan@cole.uklinux....
Wed Mar 21 17:31:00 CDT 2007


I'm not sure where best to post this, but I get a memory leak when using
code with both numpy and FFT(from Numeric) together:

e.g.

>>> import numpy
>>> import FFT
>>> def test():
...     while 1:
...         data=numpy.random.random(2048)
...         newdata = FFT.real_fft(data)
>>> test()

and memory consumption goes through the roof. I'm using numpy-1.0.1 and
Numeric-24.2 (on FC6).

This has now forced me to go 100% numpy...

BC




More information about the Numpy-discussion mailing list