On 14/06/2011 21:58, Jean-Pierre Flori wrote:

On 14 juin, 08:44, Simon King<simon.k...@uni-jena.de>  wrote:
Since sage-nt seems to agree that it is a bug, I opened trac ticket
#11474.
Good !

About the original memleak, I tried looking at how
EllipticCurves_finite_field (maybe not correct name) are created but
could not find anything fishy, only Python code which should not
produce any memleak.

Hi

I think this is a problem with multivariate polynomials over finite fields and is not specific to elliptic curves. The following code produces a leak:

K=GF(2^50,"t")
R.<x,y>=PolynomialRing(K)
a=K.random_element()
while(1):
    f=a*x
    del f

When constructing an elliptic curve its equation is constructed in the 3-variable polynomial ring over K, and thus we will get this leak.

Best wishes

Alastair

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

Reply via email to