On Aug 15, 5:48 am, Simon King <simon.k...@uni-jena.de> wrote:
> Anyway, I'd be glad if someone could review #715, #11521, #12313 and
> #13370...

I'm trying! In the process, I think I might have found a useful
debugtool. In sage.structure.coerce_dict, I have added:

cpdef refcache():
    """
    for debug reasons only! Access to the cache. Don't change anything
    in it or chaos will ensue.
    """
    return _refcache

because that contains a wealth of information about objects that
aren't getting collected. For one thing, if you run the examples in
this thread, you'll see that this _refcache still does get very big! I
haven't seen any values (they're all lists) of length zero in there
(see ticket #715 -- do keys ever get removed from _refcache?), but
there are plenty that are lists containing integers (values for p in
the examples above by the looks of it). Really, these lists should
only contain weakref objects because anything else will never get
removed.

-- 
-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org



Reply via email to