Roundcube Community Forum

 

Emails with large attachments won't open

Started by mydigitalself, May 04, 2007, 08:37:02 AM

Previous topic - Next topic

mydigitalself

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.


mydigitalself

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?