From: Travis O. <oli...@ie...> - 2006-08-11 22:11:05
|
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 |