[Numpy-discussion] memory leak using numpy and cvxopt

Pauli Virtanen pav@iki...
Fri Jul 2 09:54:05 CDT 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