P
Peter Dobcsanyi
Calling the following function with a large enough 'n' causes memory leak.
import numarray as N
def loop(n, m=100):
for i in xrange(n):
a = N.zeros((m,m))
N.matrixmultiply(a, a)
If the matrixmultiply line is commented out, there is no leak, the
program has a stable memory size.
I am using numarray 1.1, the result is the same with Python 2.3.4 and
2.4b2.
Peter
import numarray as N
def loop(n, m=100):
for i in xrange(n):
a = N.zeros((m,m))
N.matrixmultiply(a, a)
If the matrixmultiply line is commented out, there is no leak, the
program has a stable memory size.
I am using numarray 1.1, the result is the same with Python 2.3.4 and
2.4b2.
Peter