I created a ticket concerning the memleak: http://trac.sagemath.org/sage_trac/ticket/11468 I did not have the time to find the origin of the problem.
Simon, I guess you could open another ticket with what you spotted. On 8 juin, 14:13, Simon King <simon.k...@uni-jena.de> wrote: > On 8 Jun., 11:19, Jean-Pierre Flori <jpfl...@gmail.com> wrote: > > > Using the following piece of code makes the memory footprint of sage > > grow indefinitely: > > I just noticed that elliptic curves are instances of > sage.structure.parent.Parent, but violate the unique parent > assumption: > > sage: K = GF(1<<50,'t') > sage: j = K.random_element() > sage: from sage.structure.parent import Parent > sage: isinstance(EllipticCurve(j=j),Parent) > True > sage: EllipticCurve(j=j) is EllipticCurve(j=j) > False > sage: EllipticCurve(j=j) == EllipticCurve(j=j) > True > > Should that be fixed as well (in addition to the memory leak)? > > Cheers, > Simon -- 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