Hi, new data: sage: R.<x> = QQ[] sage: M = get_memory_usage() sage: for n in range(50000): if get_memory_usage()>M: Mnew = get_memory_usage() print n print Mnew-M; M=Mnew R(1); # <----- remark: I got rid of the addition ....: 0 0.40234375 3323 0.12890625 5435 0.12890625 7547 0.12890625 9659 0.12890625 11771 0.12890625 13883 0.12890625
etc note that: 0.12890625*1024*1024 == 135168 == 132*1024 the difference for the n's is also always the same: 2112 finally 135168 == 2112 * 64 so I guess the allocation is done by chunks of 132Kbytes , and we loose each loop 64bytes. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org