I just found the following memory leak:

def leak():
    K.<a> = NumberField(x^2 - x - 1)
    m = get_memory_usage()
    for n in xrange(100000):
        E = EllipticCurve(K, [3,4,5,6,7])
        if n % 1000 == 0:
            print get_memory_usage() - m

sage: leak()
0.0
0.5
1.0
1.0
1.5
2.0
2.0
2.5
3.0
[...]

Is this the same as an already reported bug? It looks like it might be
related to http://trac.sagemath.org/sage_trac/ticket/715 or
http://trac.sagemath.org/sage_trac/ticket/5970 except that this example is
always constructing the exact same curve, and it isn't doing anything with
it. If it isn't the same as those leaks, does anyone have any idea what it
is?

-- 
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