[NumPy-Tickets] [NumPy] #1668: Masked array calculations memory leak

NumPy Trac numpy-tickets@scipy....
Thu Mar 24 18:30:20 CDT 2011


#1668: Masked array calculations memory leak
-------------------------+--------------------------------------------------
 Reporter:  storpipfugl  |       Owner:  pierregm
     Type:  defect       |      Status:  new     
 Priority:  normal       |   Milestone:  2.0.0   
Component:  numpy.ma     |     Version:  1.5.0   
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by pv):

  * owner:  somebody => pierregm
  * component:  Other => numpy.ma


Comment:

 The issue seems to be that the `if domain is not None` branch in
 ma/core.py:2800:MaskedArray.__array_wrap__ creates a copy of the result
 array, but apparently some references are left to the original array
 somewhere.

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


More information about the NumPy-Tickets mailing list