I've got this error message and I don't get its meaning.
_pickle.UnpicklingError: pickle data was truncated
My program is using multiprocessing and is running on a workstation with 8 cores and 128 Gb of RAM.
I pickle a list of objects (objects I define in another file), and this list can be quite huge (Several 100 000 of thousands of tuples at best), but also empty.
The way I pickle the data is the following:
import _pickle as pickle
with open(join(folder, file), "wb") as output:
pickle.dump(L, output, -1) # L is the list
And I read them like this:
with open(join(folder, file), "rb") as input:
L = pickle.load(input)
I've been using this for a while, and that's the first time the program is throwing this error.