[Numpy-discussion] Vectorize leak fixed (and sage-reported leak fixed as well).

Travis E. Oliphant oliphant@enthought....
Fri Mar 21 23:29:14 CDT 2008

Michael.Abshoff wrote:
> Travis E. Oliphant wrote:
>> Hello all,
>> Much thanks is deserved by the people who have been chasing down and 
>> fixing reference count problems in NumPy.  Two of them are related to 
>> object arrays.  
>> So, if you have been having memory leak problems with object arrays 
>> (vectorize uses object arrays, BTW), you should try out the latest SVN 
>> of NumPy to see if they fix your problems.   Hopefully, NumPy 1.0.5 will 
>> come out sometime next week so that everybody can enjoy a more 
>> memory-conscious NumPy.
>> The vectorize-related leak was a particularly silly one which led to 
>> casting for simple cases actually doing more work instead of less (this 
>> led inexorably to leaks whenever object arrays were cast to other types).
>> Best regards,
>> -Travis
> Hi Tavis, list,
> excellent. We will upgrade then officially once 1.0.5 is out. I will do 
> some testing the 1.0.5svn to verify that the leak is actually gone - not 
> that we don't trust you :)
Boy, after that silly memory leak,  I don't trust me :-).  

Besides, I only tested the code somebody sent and not within a SAGE 

-Travis O.

More information about the Numpy-discussion mailing list