[Numpy-discussion] memory leak using numpy and cvxopt
Pauli Virtanen
pav at iki.fi
Fri Jul 2 10:54:05 EDT 2010
Fri, 02 Jul 2010 14:56:47 +0200, Tillmann Falck wrote:
> I am hitting a memory leak with the combination of numpy and
> cvxopt.matrix. As I am not where it occurs, I am cross posting.
Probably a bug in cvxopt, as also the following leaks memory:
--------------------------------
from cvxopt import matrix
N = 2000
X = [0]*N
Y = matrix(0.0, (N, N))
while True:
Y[:N, :1] = X
--------------------------------
--
Pauli Virtanen
More information about the NumPy-Discussion
mailing list