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

Reply via email to