Numbers bigger than memory

Wes Freeman freeman.wes at gmail.com
Wed Dec 19 16:07:42 CET 2012


Yeah, I like to use my SSD as extra RAM in these cases. It's probably not
as efficient as a well-designed on-disk representation of numbers, but it
works for my purposes. In linux you have to allocate swap, but in mac osx
by default it grows until it fills your hard drive.

Wes

On Wed, Dec 19, 2012 at 9:42 AM, Hans Aberg <haberg-1 at telia.com> wrote:

> On 18 Dec 2012, at 04:23, Pi wrote:
>
> > It would be nice that GMP could be able to use numbers larger than
> memory.
>
> If by memory you mean primary memory (RAM), they already do by means of
> virtual memory. For 64-bit processes on Mac OS X, the limit is roughly 18
> exabytes (see link below).
>
> Hans
>
>
>
> http://developer.apple.com/library/mac/#documentation/performance/Conceptual/ManagingMemory/Articles/AboutMemory.html
>
>
> _______________________________________________
> gmp-discuss mailing list
> gmp-discuss at gmplib.org
> https://gmplib.org/mailman/listinfo/gmp-discuss
>


More information about the gmp-discuss mailing list