#11521: Memleak when resolving the action of Integers on an Elliptic Curve
------------------------+---------------------------------------------------
   Reporter:  jpflori   |          Owner:  robertwb    
       Type:  defect    |         Status:  needs_review
   Priority:  major     |      Milestone:  sage-4.8    
  Component:  coercion  |       Keywords:              
Work_issues:            |       Upstream:  N/A         
   Reviewer:            |         Author:              
     Merged:            |   Dependencies:              
------------------------+---------------------------------------------------

Comment(by zimmerma):

 with Sage 4.7.2 I get the following:
 {{{
 sage: for p in prime_range(10^5):
 ....:     K = GF(p)
 ....:     a = K(0)
 ....:
 sage: import gc
 sage: gc.collect()
 0
 sage: from sage.rings.finite_rings.finite_field_prime_modn import \
 ....: FiniteField_prime_modn as FF
 sage: L = [x for x in gc.get_objects() if isinstance(x, FF)]
 sage: len(L), L[0], L[len(L)-1]
 (9592, Finite Field of size 2, Finite Field of size 99767)
 }}}
 thus whenever we use the finite field we get a memleak.
 (If I remove the {{{a=K(0)}}} line, I get only two elements in L, for p=2
 and p=99991.)

 Paul

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11521#comment:18>
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