[Scipy-tickets] [SciPy] #1190: scipy.signal.lfilter memory leak when size of signal is similar to size of filter

SciPy Trac scipy-tickets@scipy....
Tue Oct 19 07:48:58 CDT 2010


#1190: scipy.signal.lfilter memory leak when size of signal is similar to size of
filter
--------------------------+-------------------------------------------------
 Reporter:  hogu          |       Owner:  somebody   
     Type:  defect        |      Status:  new        
 Priority:  normal        |   Milestone:  Unscheduled
Component:  scipy.signal  |     Version:  0.7.0      
 Keywords:  memory leak   |  
--------------------------+-------------------------------------------------

Old description:

> import numpy as np
> import scipy.signal
>
> temp = np.random.random(200)
> for c in range(200000):
>     print c
>     temp2 = scipy.signal.lfilter(np.ones(180), [1], temp)
>

> this causes my process memory to grow
>
> I am on ubuntu lucid lynx with  libatlas3gf-sse2    if that is relevant

New description:

 {{{
 import numpy as np
 import scipy.signal

 temp = np.random.random(200)
 for c in range(200000):
     print c
     temp2 = scipy.signal.lfilter(np.ones(180), [1], temp)
 }}}

 this causes my process memory to grow

 I am on ubuntu lucid lynx with  libatlas3gf-sse2    if that is relevant

--

Comment(by rgommers):

 <reformatted example>

 Memory doesn't grow for me with 0.8.0

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1190#comment:3>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list