MemoryError in imaplib?

Márcio Faustino m.faustino at
Sat Feb 13 20:31:47 CET 2010


When using "imaplib" to fetch e-mail messages, the ""
and "IMAP4_SSL.readline" functions sometimes throw a "MemoryError"
exception in "chunks.append(data)" and "line.append(char)",
respectively. But if I change those functions to use instead a
"cStringIO" buffer object, then that exception doesn't get thrown.

Is this normal? I've seen this happen with Python 2.6.4 in both
Windows XP 32-bit and Windows 7 64-bit.


More information about the Python-list mailing list