Todd Miller wrote:
>>   
>>     
> I looked at this a little with a debug python and figure it's a bug in 
> numpy.zeros():
>
>   
Hmmm.  I thought of that, but could not get any memory leak by just 
creating zeros in a four loop.

In other words:

for i in xrange(10000000):
      numpy.zeros(dtype=numpy.float64, shape=3)

does not leak..

So, it's seems to be related to the array protocol.  I have not been 
able to spot what is going on though.  There does not seem to be any 
reference-counting problem that I can see.

-Travis


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to