Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Possible memory leak in np.diagonal() #3209

Closed
kwgoodman opened this Issue · 2 comments

2 participants

@kwgoodman

On my computer this leaks memory on numpy 1.7.0 but not 1.6.2:

In [1]: a = np.ones((500,500))
In [2]: for i in range(10000000): a.diagonal()

Functions that call a.diagonal, such as np.diag() and np.trace(), will also leak.

@charris
Owner

Known problem, should be fixed in 1.7.1. Can you give it a try?

@kwgoodman

Sorry about that. Yep, no leak in numpy 1.7.1.

@kwgoodman kwgoodman 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.