pickle problem - frexp() out of range

ahaldar abhra.haldar at gmail.com
Mon Feb 26 17:45:03 EST 2007


Hi:

I have some large data structure objects in memory, and when I attempt
to pickle them, I get the following error:

SystemError: frexp() out of range

Are there some objects that are just too large to serialize, and if
so, is there an easy workaround without breaking up the object and
reconstructing it during deserialization?

Here's the code I use to pickle the object:

f = open(dir+file, "w+b")
pickle.dump(structure, f, protocol=2) # throws error
f.close()

- abhra




More information about the Python-list mailing list