#10570: sage leaves a lot of stackframes alive at startup
-------------------------------+--------------------------------------------
   Reporter:  mderickx         |       Owner:  rlm       
       Type:  defect           |      Status:  needs_work
   Priority:  critical         |   Milestone:  sage-4.7  
  Component:  memleak          |    Keywords:            
     Author:  Maarten Derickx  |    Upstream:  N/A       
   Reviewer:  Keshav Kini      |      Merged:            
Work_issues:                   |  
-------------------------------+--------------------------------------------
Changes (by mderickx):

  * status:  positive_review => needs_work


Comment:

 There is now only the factorial remaining, but now for a different reason
 then before:

 sage: import gc
 sage: import inspect
 sage: l1=gc.get_objects()
 sage: frames=[x for x in l1 if inspect.isframe(x)]
 sage: len(frames)
 9
 sage:
 
l=objgraph.find_backref_chain(frames[8],inspect.ismodule,max_depth=15,extra_ignore=[id(frames)])
 sage: map(type,l)
 [<type 'module'>, <type 'dict'>, <class
 'sage.combinat.species.stream.Stream_class'>, <type 'dict'>, <type
 'generator'>, <type 'frame'>]

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10570#comment:6>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to