[RCD] messages larger than PHP's memory limit
roundcube at gmail.com
Thu May 22 12:14:44 CEST 2008
> 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
OK, this is another issue of the PEAR package which is unable to read from
streams but composes all the message content in memory before it's passed
to the SMTP server.
> 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.
This looks like the correct behavior when reading messages.
List info: http://lists.roundcube.net/dev/
More information about the Dev