Hi,

Look at:

R.<A,B,C>=QQ[]
print get_memory_usage()
for i in xrange(10000): (an,bn,cn)=map(lambda x: abs(x((1,8,9))),
(A,B,C))
print get_memory_usage()

819.94921875
828.94921875

Why is the memory usage increasing with 9Mb? This only happens when
"map" is used repeatedly!

I would expect no increase at all.

I'm using VMware+Sage 4.1, but I obtaining the same result on sagenb:
http://www.sagenb.org/home/pub/2164

Thanks in advance! Roland

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