Page 1 of 1

Releasing Large Attachments

Posted: 02 Apr 2009, 02:20
by mikelegg
I'm trying to release a 24Mb attachment from MailWatch Quarantine but it fails with this error:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 25414673 bytes) in /usr/local/cpanel/whostmgr/docroot/3rdparty/mailwatch/pear/Mail/mimePart.php on line 293

The main php.ini file has memory_limit = 32M so there should be enough memory to load a 24Mb file.

Is there something else that could cause this error?

Posted: 16 Apr 2009, 10:44
by Sarah
As it's a PHP error and not actually related to the MailScanner Front-End, you should ask this question on the MailWatch mailing list. However, I would not be surprised if about twice as much memory as the size of the attachment would be required to process the email, so I would suggest increasing the limit in php.ini to see if that helps.

Posted: 17 Apr 2009, 00:16
by mikelegg
Good point(s)

Thanks Sarah