Cannot allocate memory.

Thomas Hepplewhite hepplewhite at gmail.com
Mon Apr 2 15:58:50 CEST 2012


I'm using gmp-mp on linux with c++. The problem I'm getting is that
when I set the bit precision to a certain amount after a certain
number of program loops the program aborts with -

GNU MP : Cannot allocate memory (size = 184582152)

I've cleared all the memory that I can.

Even if the program requires more RAM than available shouldn't it just
go to swap space? Or is it another issue?


More information about the gmp-bugs mailing list