Roundcube Community Forum

Release Support => Pending Issues => Topic started by: mydigitalself on May 04, 2007, 08:37:02 AM

Title: Emails with large attachments won't open
Post by: mydigitalself on May 04, 2007, 08:37:02 AM
I've received 2 emails recently with large attachments - by large I mean 2.7MB (so not THAT large!). If I double click on the email, I get a completely blank page. View source of the result shows there is absolutely no HTML being sent at all.

Title: Re: Emails with large attachments won't open
Post by: mydigitalself on May 04, 2007, 08:41:39 AM
Ah, found the problem actually...

[04-May-2007 13:32:24] PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 2746271 bytes)

Extended memory limit of PHP script to 32M and now it's working just fine. Could this code be optimised to not use so much memory?