Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

scipy.signal.lfilter memory leak when size of signal is similar to size of filter (Trac #1190) #1717

Closed
scipy-gitbot opened this Issue · 3 comments

2 participants

@scipy-gitbot

Original ticket http://projects.scipy.org/scipy/ticket/1190 on 2010-06-02 by trac user hogu, assigned to unknown.

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

@scipy-gitbot

@jpaalasm wrote on 2010-10-19

Try if upgrading to scipy 0.7.1 or 0.8 would solve the problem.

A memory leak in lfilter was fixed in 0.7.1 (#911) and that might apply to this problem, too.

@scipy-gitbot

@rgommers wrote on 2010-10-19

Memory doesn't grow for me with 0.8.0

@bfroehle bfroehle referenced this issue from a commit in bfroehle/scipy
@jseabold jseabold TST: fix linalg.qz test to avoid seg fault on Windows. Closes #1717.
(backported from baa8f73)
c30adde
@rgommers
Owner

Somehow had a comment on this in my inbox that isn't here anymore. Anyway, tried again to reproduce - no luck on Ubuntu or OS X. Reference are wrong, this has nothing to do with linalg.qz. Closing.

@rgommers rgommers closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.