crash using GMPY

M

Mensanator

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,196
Messages
2,571,036
Members
47,631
Latest member
kukuh

Latest Threads

Top