#14711: Memleak when creating QuadraticField
-------------------------------------+-------------------------------------
       Reporter:  jpflori            |        Owner:  davidloeffler
           Type:  defect             |       Status:  needs_review
       Priority:  critical           |    Milestone:  sage-5.13
      Component:  number fields      |   Resolution:
       Keywords:  memleak, number    |    Merged in:
  field, QuadraticField              |    Reviewers:
        Authors:  Simon King         |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  05fb569cb132a8c89713021f1f4b25cd2dd7cb1c
  u/SimonKing/ticket/14711           |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by SimonKing):

 With vanilla public/sage-git/master, I find that `sage -t --all` results
 in 1083022 calls to `Parent.__init__`, while with the branch from here it
 is called 1129534 times.

 Hence, there ''is'' an increase in the number of parents being created. No
 surprise, since this ticket is about making parents garbage collectable in
 some situations.

 Nevertheless, it might make sense to see whether some types of parents
 show a particularly strong increase, so that we can then decide whether we
 should have some stronger cache for these types.

--
Ticket URL: <http://trac.sagemath.org/ticket/14711#comment:106>
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to