mpf_t to 1 billion decimal places

Bruno Jiménez brunojimen at
Tue Jan 15 18:04:25 CET 2013


I think you are having a problem with the executable being 32-bits, and
not with GMP. According to the microsoft docs, the memory limit for a
32-bit process is 2GB. But you can change it to 4GB as you are using it
in a 64-bits server.

More information here:

Hope it helps!

El mar, 15-01-2013 a las 15:56 +0000, Sam Kennedy escribió:
> I'm trying to calculate pi to 1 billion decimal places, however I get
> an error from GMP saying it cannot allocate the memory. I'm running
> the 32-bit executable on windows server 2008, the server is 64-bit and
> has 6gb of ram.
> It appears I cannot use more than 2gb of memory, is there any
> workaround for this? I'm compiling with visual studio 2012.
> Thank You,
> -Sam
> _______________________________________________
> gmp-discuss mailing list
> gmp-discuss at

More information about the gmp-discuss mailing list