MemoryError vs malloc error

Amit Dev amitdev at
Sat Jul 16 01:51:17 EDT 2011


I've a long running python process (running on freebsd). Sometimes when it
uses too much memory it core dumps. I would've expected it to raise
MemoryError. Normally, when would a python process raise MemoryError and
when would it fail with malloc error and cores? This is happening in pure
python code (Eg. if ' '.join(biglist)) etc.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list