error during call to cPickle

Chris Diehl cpdiehl at gmail.com
Mon Dec 17 17:24:15 EST 2007


hello,

when pickling a very large object (~200 MB) in python 2.4.4 with
cPickle to a file, I get the following errors:

python(14896) malloc: *** vm_allocate(size=8421376) failed (error
code=3)
python(14896) malloc: *** error: can't allocate region
python(14896) malloc: *** set a breakpoint in szone_error to debug

reducing the size to about half that, everything works fine.  is there
a limit I should be aware of?

I'm running python 2.4.4 under OS X 10.4.11.

any thoughts on what might be going on would be most appreciated!

cheers,

Chris Diehl



More information about the Python-list mailing list