#9129: sqrt memory leaks
-------------------------------------------------+-------------------------
Reporter: zimmerma | Owner:
Type: defect | AlexGhitza
Priority: critical | Status: new
Component: basic arithmetic | Milestone: sage-6.2
Keywords: sd35.5 | Resolution:
Authors: | Merged in:
Report Upstream: Reported upstream. No | Reviewers:
feedback yet. | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------------------------+-------------------------
Comment (by vbraun):
Implemented at
https://bitbucket.org/vbraun/pynac/commits/4c798d4cb4b50532fc525ad652d7f0db79eb08c1
With the patch it still leaks but much slower
{{{
:sage: m = get_memory_usage()
:sage: i=0
:sage: while True:
:....: i+=1
:....: a = 2.sqrt()
:....: if i%1000==0:
:....: print get_memory_usage(m)
:....:
:--
0.0
0.0
0.0
0.0
0.0
0.0
0.25
0.25
0.25
0.25
0.25
0.5
0.5
0.5
0.5
0.5
0.5
0.875
0.875
0.875
0.875
1.00390625
1.28515625
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/9129#comment:36>
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/d/optout.