[Numpy-discussion] numpy FFT memory accumulation

Travis E. Oliphant oliphant@enthought....
Wed Oct 31 17:26:42 CDT 2007

Ray S wrote:
> I am using
> fftRes = abs(fft.rfft(data_array[end-2**15:end]))
> to do running analysis on streaming data. The N never changes.
> It sucks memory up at ~1MB/sec with 70kHz data rate and 290 ffts/sec.
> (Interestingly, Numeric FFT accumulates much slower..)
> (Commenting out that one line stops memory growth.)
At first glance, I would say that I don't expect memory to be growing 
here, so it looks like a problem with rfft that deserves looking into.

Does data_array keep growing?

Travis O.

More information about the Numpy-discussion mailing list