The following program crashes due to virtual memory being exhausted: import gmpy x = 8589934592 y = 3486784401 z = 81287570543 for i in xrange(1,10000000): a = gmpy.divm(z,x,y) Am I correct in assuming there is a bug in this GMPY function that is not freeing up the memory is uses? -- Mensanator Ace of Clubs