Re: [Numpy-discussion] Numeric memory leak when building Numeric.array from numarray.array

2006-12-11 Thread Francesc Altet
El dl 11 de 12 del 2006 a les 14:16 +0100, en/na Alexandre Fayolle va escriure: > > > I can work around this by using an intermediate string representation: > > > > > > temp = Numeric.fromstring(atest.tostring(), atest.typecode()) > > > temp.shape = atest.shape > > > > Another (faster) workaround

Re: [Numpy-discussion] Numeric memory leak when building Numeric.array from numarray.array

2006-12-11 Thread Alexandre Fayolle
On Thu, Dec 07, 2006 at 05:36:22PM +0100, Francesc Altet wrote: > El dj 07 de 12 del 2006 a les 16:50 +0100, en/na Alexandre Fayolle va > escriure: > > Hi, > > > > I'm facing a memory leak on an application that has to use numarray and > > Numeric (because of external dependencies). > > > > The

Re: [Numpy-discussion] Numeric memory leak when building Numeric.array from numarray.array

2006-12-07 Thread Francesc Altet
El dj 07 de 12 del 2006 a les 16:50 +0100, en/na Alexandre Fayolle va escriure: > Hi, > > I'm facing a memory leak on an application that has to use numarray and > Numeric (because of external dependencies). > > The problem occurs when building a Numeric array from a numarray array: > > import

[Numpy-discussion] Numeric memory leak when building Numeric.array from numarray.array

2006-12-07 Thread Alexandre Fayolle
Hi, I'm facing a memory leak on an application that has to use numarray and Numeric (because of external dependencies). The problem occurs when building a Numeric array from a numarray array: import Numeric import numarray import sys atest = numarray.arange(200) temp = Numeric.array(atest) pri