MemoryError vs malloc error

Amit Dev amitdev at gmail.com
Sat Jul 16 07:51:17 CEST 2011


Hi,

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.

Regards,
Amit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110716/819cd17e/attachment.html>


More information about the Python-list mailing list