I'm trying to pickle.dump a list of lists. I suppose it's quite large with 2962694 elements, (each a list of ~2000 elements) and total size of 230MB.
I have no problems working with this list until I want to pickle it. It keeps raising:
OSError: [Errno 28] No space left on device
I tried using all the protocols, and I've tried _pickle/cPickle to no success. Each time a pickle file is created, but it's incomplete and loading it raises:
EOFError: Ran out of input
I'm using python 3.7 with Windows VM, I have TBs of space on the destination drive, I have 2.7GB on C:. I know that this error can be caused by limitations other than the hard-drive space, but I could've sworn I dumped much larger pickles - what would be other potential reasons for this error?