crash using GMPY

Mensanator mensanator at aol.compost
Mon May 3 00:42:18 EDT 2004


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



More information about the Python-list mailing list