Re: [mpir-devel] Automatic disk Read/Write when numbers exceed available RAM

2020-05-27 Thread degski
On Tue, 26 May 2020 at 04:35, 'Bill Hart' via mpir-devel < mpir-devel@googlegroups.com> wrote: > No, unfortunately there is no automatic facility to do this other than > the swapping mechanism of your OS. > But in the OP's code!. One can allocate the mpz_t directly into virtual memory using your

Re: [mpir-devel] Automatic disk Read/Write when numbers exceed available RAM

2020-05-26 Thread 'Bill Hart' via mpir-devel
No, unfortunately there is no automatic facility to do this other than the swapping mechanism of your OS. On Tue, 26 May 2020 at 06:37, Gaj Satha wrote: > > The problem I have is that numbers have become so big that I can’t store them > in my RAM. Is there a way I can smartly write portions of

[mpir-devel] Automatic disk Read/Write when numbers exceed available RAM

2020-05-25 Thread Gaj Satha
The problem I have is that numbers have become so big that I can’t store them in my RAM. Is there a way I can smartly write portions of my number to the hard disk and load them when needed? Essentially what I want is that when the RAM is full, just write to the disk and load is automatically