On Wed, 21 May 2008 19:39:11 +0200, Thomas Bruederli roundcube@gmail.com wrote:
Jason Fesler wrote:
64 MB < 85 MB :-D
Are we making use of the imap server features to pull bodies versus attachments seperately? If so, I'd imagine that it'd be possible to stream attachments out instead of reading them as large blobs.
Yes, we do only fetch the message structure from IMAP and read the part contents separately. In case a message has a 85MB attachment this
actually
should work. If the message body (text part) has this size, we're out of luck...
@Pete: could you post the message outline (mime structure) without the 85Mb content? Then we can be sure that we're all talking about the same.
~Thomas _______________________________________________ List info: http://lists.roundcube.net/dev/
Well, i deleted the message meanwhile :( When i tried to reproduce the error, i raised the mem limit to 640M, and i tried to send a message with a large 77Mb attachment to myself over Roundcube.
The error message was in the log: [22-máj-2008 11:07:59] PHP Fatal error: Allowed memory size of 671088640 bytes exhausted (tried to allocate 208171409 bytes) in /path-to-rcd-root/program/lib/Net/SMTP.php on line 788
However, a draft was saved, with a reported size of 100M, and i was able to view it, even when i set the mem limit back to 64M.