[issue13555] cPickle MemoryError when loading large file (while pickle works)
Charles-François Natali
report at bugs.python.org
Mon Dec 12 17:02:22 CET 2011
Charles-François Natali <neologix at free.fr> added the comment:
@Antoine
Couldn't this be linked to #11564 (pickle not 64-bit ready)? Basically, an integer overflow, and malloc() would bail out when asked a ridiculous size. AFAICT this wasn't fixed in 2.7.
@Philipp
I'd be curious to see the last lines of
$ ltrace -e malloc python test_np.py
you'll probably see a call to malloc() return NULL.
Also, depending on Antoine's answer, trying with default (3.3) could be useful.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13555>
_______________________________________
More information about the Python-bugs-list
mailing list