define MEM_SIZE 31
Segmentation fault
your PC memory is not enough
try:
#define MEM_SIZE 30
What would be MEM_SIZE values for using 128/256/512 GB of ram?
32/33/34 (read back a bit each increase doubles the memory requirement)
and as we have seen if the 512 does not have 512 of actual usable ram you need to go down one
(i.e. if it really has say 500 available then 33 it is.. but will only use 256gb)