The source code for Integer.sqrt() calls some lower level stuff that I'm not familiar with, otherwise I'd try to fix it. Should I submit a bug report? Can I even do that?
Thanks, Richard On May 27, 12:43 pm, Robert Bradshaw <rober...@math.washington.edu> wrote: > On May 27, 2010, at 9:07 AM, rickhg12hs wrote: > > > I noticed that doing sqrt() for large integers seems to continually > > chew up memory. > > > For example: > > > sage: m = get_memory_usage() > > sage: while True: > > a = ZZ(randint(2^400,2^800)).sqrt() > > print get_memory_usage(m) > > > This prints ever increasing memory usage values, but I'm not sure that > > it should. > > Looks like a memory leak to me. > > - Robert -- 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