Re: [Numpy-discussion] Memory leak for in-place Numeric+numpy addition

2007-07-30 Thread Travis Oliphant
Thomas J. Duck wrote: > Hi, > > There seems to be a memory leak when arrays are added in-place > for mixed Numeric/numpy applications. For example, memory usage > quickly ramps up when the following program is executed: > > > import Numeric,numpy > x = Numeric.zeros((2000,2000),typeco

[Numpy-discussion] Memory leak for in-place Numeric+numpy addition

2007-07-28 Thread Thomas J. Duck
Hi, There seems to be a memory leak when arrays are added in-place for mixed Numeric/numpy applications. For example, memory usage quickly ramps up when the following program is executed: import Numeric,numpy x = Numeric.zeros((2000,2000),typecode=Numeric.Float64) for j in range(200):