Monday, September 30, 2013

Issue 13555: cPickle MemoryError when loading large file (while pickle works) - Python tracker

Issue 13555: cPickle MemoryError when loading large file (while pickle works) - Python tracker: "Well, replace cPickle by pickle and it works.

cPickle makes some direct call to malloc()/realloc()/free(), contrarily to pickle which uses pymalloc. This could lead to heap fragmentation."

'via Blog this'