#14711: Memleak when creating QuadraticField
---------------------------------------------------------+------------------
       Reporter:  jpflori                                |         Owner:  
davidloeffler
           Type:  defect                                 |        Status:  new  
        
       Priority:  critical                               |     Milestone:  
sage-5.11    
      Component:  number fields                          |    Resolution:       
        
       Keywords:  memleak, number field, QuadraticField  |   Work issues:       
        
Report Upstream:  N/A                                    |     Reviewers:       
        
        Authors:                                         |     Merged in:       
        
   Dependencies:                                         |      Stopgaps:       
        
---------------------------------------------------------+------------------

Comment (by SimonKing):

 Replying to [comment:6 jpflori]:
 > Indeed, there is a map created at initialization and stored in CDF/RDF's
 "_convert_from_list" which is a Python list so gives in the end a strong
 ref to the number field.

 Ah, yes, that's bad. If I recall correctly, default embeddings are
 (currently) stored by strong reference via an attribute of the codomain,
 and if this codomain is immortal, the domain will be immortal as well.

 I am afraid that this week I will have no capacity to work on it or do
 reviews. There might be a chance during the upcoming Sage days in Orsay.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14711#comment:7>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to