[RCU] Memory limit reached when sending attachments

Julien Wadin julien at wadin.be
Sun Feb 3 20:08:41 CET 2008

Hi guys,
We have a problem, when we try to send an attachment wich is a little 
bit to heavy. Roundcube tries to allocate a lot of memory, and the 
process crashes beceause memory limit is reached
I've tried to arise memory limit up to 65M, but I think that it should 
normaly be not more than 16M (php standard is 8).

I've got the following lines in error log
PHP Fatal error:  Allowed memory size of 16777216 bytes exhausted (tried 
to allocate 10598455 bytes) in program/lib/imap.inc on line 1910
[03-Feb-2008 16:22:22] PHP Fatal error:  Allowed memory size of 41943040 
bytes exhausted (tried to allocate 10599123 bytes) in 
program/lib/Mail/mimePart.php on line 226
[03-Feb-2008 17:31:39] PHP Fatal error:  Allowed memory size of 68157440 
bytes exhausted (tried to allocate 21474171 bytes) in 
program/lib/Net/SMTP.php on line 745

Do you have a fix for that very annoying bug ?
We use RC2

Thank you.

Wadin Julien
Tel : +32 (0) 475 632 168 ou +33 (0) 9 79 99 21 56
Web : http://blog.julienwadin.be/

List info: http://lists.roundcube.net/users/

More information about the users mailing list