[NumPy-Tickets] [NumPy] #2198: np.loadtxt leaks memory

NumPy Trac numpy-tickets@scipy....
Sat Aug 11 01:42:30 CDT 2012


#2198: np.loadtxt leaks memory
---------------------------------+------------------------------------------
 Reporter:  tanriol              |       Owner:  somebody   
     Type:  defect               |      Status:  new        
 Priority:  normal               |   Milestone:  Unscheduled
Component:  numpy.lib            |     Version:  1.6.2      
 Keywords:  loadtxt memory leak  |  
---------------------------------+------------------------------------------

Comment(by rgommers):

 The memory consumption shouldn't be a problem as long as the memory is
 freed before you start swapping to disk. This should be handled by the
 memory allocator of your OS.

 If you do see swapping it is a serious problem. IIRC pandas has a
 different loadtxt function (implemented in C) which you could try.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/2198#comment:5>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list