Roundcube Community Forum

Release Support => Pending Issues => Topic started by: miniwark on September 30, 2009, 05:05:35 AM

Title: Attachments hang the sending
Post by: miniwark on September 30, 2009, 05:05:35 AM
One of may users made a compressed .zip file with .jpg images inside. This was a 12Mo zip file (under our attachement size limit witch is 20Mo).

Attaching the file is working perfectly but during the sending process, RC hang indefinytly during "Sending message" steep.

- Activating the filesystem_attachement plugin did not change nothing

If i read whell the logs all the 128Mo memory_limit of my php.ini file are consumed :

Quote30-sep-2009 10:45:11] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 35296455 bytes) in /srv/www/htdocs/www-ssl-443/webmail/program/lib/Net/SMTP.php on line 887

I will raise my memory_limit for now but i find strange than sending a 12 Mo file burn all the 128Mo memory.

Alternaly in this sort of error, it will be more convenient to give a response to the user, like "memory error, could not send your message" instead of never finishing "message is sending".