#10548: ModularSymbols_clear_cache() not clearing everything?
-----------------------------+----------------------------------------------
Reporter: mderickx | Owner: craigcitro
Type: defect | Status: new
Priority: major | Milestone: sage-4.6.2
Component: modular forms | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
Comment(by mderickx):
According to heapy the aditional memory comes from;
dict of sage.modular.modsym.manin_symbols.ManinSymbol
{{{
mderi...@mod:~$ sage
----------------------------------------------------------------------
| Sage Version 4.6, Release Date: 2010-10-30 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: import gc
sage: from guppy import hpy; hp=hpy()
sage: M=ModularSymbols(Gamma1(97),sign=1)
sage: get_memory_usage()
848.1953125
sage: M=[]
sage: get_memory_usage()
848.1953125
sage: ModularSymbols_clear_cache()
sage: get_memory_usage()
848.1953125
sage: hp.heap()
Partition of a set of 445281 objects. Total size = 68518056 bytes.
Index Count % Size % Cumulative % Kind (class / dict of class)
0 169534 38 28541776 42 28541776 42 str
1 125494 28 10674696 16 39216472 57 tuple
2 1624 0 3964480 6 43180952 63 dict of module
3 25817 6 3098040 5 46278992 68 types.CodeType
4 24634 6 2956080 4 49235072 72 function
5 2798 1 2949584 4 52184656 76 dict (no owner)
6 2660 1 2727392 4 54912048 80 dict of type
7 9408 2 2634240 4 57546288 84 dict of
sage.modular.modsym.manin_symbols.ManinSymbol
8 2660 1 2388040 3 59934328 87 type
9 4293 1 1010536 1 60944864 89 list
<895 more rows. Type e.g. '_.more' to view.>
sage:
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10548#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 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.