I have a vector v of size 10^9 with moderately-sized integers, which I saved to a file with
write("myvector.txt",v);
However, I'm unable to read it back. PARI/GP either runs out of memory (even with 96GB memory allocation!) or just killed by the system.
I tried both
v = read("myvector.txt");
and
\r myvector.txt
Is there a way around?
PS. The resulting file size is just 10GB and so it should not be an issue to read it as a whole into memory and then parse it, but PARI/GP somehow fails to do that.
Regards,
Max