I have a numpy array which saved as an uncompressed '*npz' file is about 26 GiB as it is numpy.float32 and numpy.savez() ends with:
OSError: Failed to write to /tmp/tmpl9v3xsmf-numpy.npy: 6998400000 requested and 3456146404 written
I suppose saving it compressed may save the day, but with numpy.savez_compressed() I have also:
OSError: Failed to write to /tmp/tmp591cum2r-numpy.npy: 6998400000 requested and 3456157668 written
as numpy.savez_compressed() saves the array uncompressed first.
The obvious "use additional storage" I do not consider an answer. ;)
[EDIT]
The tag low-memory refers to disk memory, not RAM.
numpy.float32float16,int8,uint8, etc.?int16/uint16could be enough? Also, do you know what is your file system? It may limit the size of the files that you can store.