Cannot allocate memory
Paul.Zimmermann at loria.fr
Fri Dec 1 11:31:18 CET 2006
> Date: Thu, 30 Nov 2006 12:13:19 -0800 (PST)
> From: rohan <rohan076 at gmail.com>
> GNU MP: Cannot allocate memory (size=32)
> I get the above error when I run my code for about 45 minutes
> my code basically generates a lot of mpz_t random numbers and stores them in
> linked list, i've made sure to clear the list and clear the mpz_t's
> any pointers as to whats going on??
> thanks in advance.
My guess is that you forgot some clear/free command. I suggest you look at the
size of your process, using for example the "top" command. If that does not
solve your problem, please send your program and how to run it.
More information about the gmp-discuss