[Numpy-discussion] Memory leak in array protocol numarray<--numpy

Todd Miller jmiller at stsci.edu
Sat Aug 12 06:05:51 CDT 2006


Travis Oliphant wrote:
> As far as numpy knows this is all it's supposed to do.   This seems to 
> indicate that something is going on inside numarray.array(a)
>
> because once you had that line to the loop, memory consumption shows up.
>
> In fact, you can just add the line
>
> a = _numarray._array_from_array_struct(a)
>   
This does demonstrate a huge leak I'll look into.   Thanks.

Regards,
Todd





More information about the Numpy-discussion mailing list