#15424: A coercion-related memory leak
-----------------------------+-------------------------
Reporter: SimonKing | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-5.13
Component: memleak | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-----------------------------+-------------------------
Comment (by SimonKing):
Replying to [comment:1 nbruin]:
> and I found that with `x=K.one()*2` there is also a !TripleDict that
show up. It's fairly big (44 entries) and the entries all seem to be of
the form `D[domain,codomain,None]=morphism from domain to codomain` (or
`None` entries). Since the morphism has a strong reference to the
codomain, this would keep our ring alive [it doesn't seem like the kind of
dictionary that can afford to be weak on its values]. Judging from the
entries, this dictionary is a global one.
Hm. Is there any global `TripleDict` beside the one in
`sage.categories.homset`? With grep, I found none. But in this case, the
values would not be morphisms but homsets.
--
Ticket URL: <http://trac.sagemath.org/ticket/15424#comment:2>
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.