Author surkamp
Recipients rpetrov, surkamp
Date 2008-10-23.12:45:04
SpamBayes Score 1.38752e-06
Marked as misclassified No
Message-id <>
Testing on Linux:

$ ulimit -m 128000
$ ulimit -v 196000
$ python
Traceback (most recent call last):
  File "", line 23, in <module>
    txt = MIMEText(buffer, _subtype="plain", _charset="iso-8859-1")
  File "/usr/lib/python2.5/email/mime/", line 30, in __init__
    self.set_payload(_text, _charset)
  File "/usr/lib/python2.5/email/", line 220, in set_payload
  File "/usr/lib/python2.5/email/", line 262, in set_charset
    self._payload = charset.body_encode(self._payload)
  File "/usr/lib/python2.5/email/", line 386, in body_encode
    return email.quoprimime.body_encode(s)
  File "/usr/lib/python2.5/email/", line 198, in encode
    body = fix_eols(body)
  File "/usr/lib/python2.5/email/", line 77, in fix_eols
    s = re.sub(r'(?<!\r)\n', CRLF, s)
  File "/usr/lib/python2.5/", line 150, in sub
    return _compile(pattern, 0).sub(repl, string, count)

Ok. Setting a "low" ulimit for memory and vmemory, raise a MemoryError
on Linux too.

Chacking the same limits on FreeBSD, they are set to unlimited, so the
problem should not occour there.
Date User Action Args
2008-10-23 12:45:07surkampsetrecipients: + surkamp, rpetrov
2008-10-23 12:45:06surkampsetmessageid: <>
2008-10-23 12:45:06surkamplinkissue4177 messages
2008-10-23 12:45:04surkampcreate