[Numpy-tickets] [NumPy] #357: Memory leak iterating over arange

NumPy numpy-tickets at scipy.net
Thu Oct 19 19:53:17 CDT 2006

#357: Memory leak iterating over arange
 Reporter:  tlbtlbtlb   |       Owner:  somebody   
     Type:  defect      |      Status:  new        
 Priority:  normal      |   Milestone:  1.0 Release
Component:  numpy.core  |     Version:  devel      
 Severity:  normal      |    Keywords:  memory leak
 Dereferencing the result of arange seems to leak memory, about 80 bytes
 each time. In the attached example code, either function will run out of
 memory. I run it with a 30 MB limit:
    ( ulimit -d 30000 ; ./t_nump_leak.py)
 so you can see it run out without hosing your machine, but these will
 rapidly use up any amount of memory.

 I'm using 1.0rc2 from subversion, built on FreeBSD 5.4 with Python 2.4.3

Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/357>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.

More information about the Numpy-tickets mailing list