Releasing Large Attachments

Discuss the ConfigServer MailScanner Front-End script
Post Reply
mikelegg
Junior Member
Posts: 45
Joined: 10 Nov 2007, 03:10

Releasing Large Attachments

Post 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?
Sarah
Moderator
Posts: 921
Joined: 09 Dec 2006, 22:49

Post 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.
mikelegg
Junior Member
Posts: 45
Joined: 10 Nov 2007, 03:10

Post by mikelegg »

Good point(s)

Thanks Sarah
Post Reply