2 messages in com.mysql.lists.eventum-usersRE: Memory exhausted download emails ...
FromSent OnAttachments
Matthew Dickinson11 Apr 2005 09:55 
Joao Prado Maia12 Apr 2005 06:23 
Subject:RE: Memory exhausted download emails after 1.5.1 upgrade
From:Joao Prado Maia (jp@mysql.com)
Date:04/12/2005 06:23:23 AM
List:com.mysql.lists.eventum-users

Matthew,

After upgrading from 1.5.0 to 1.5.1, the memory_limit seems to need to be increased. I've been running happily at 8M, and now have to up this to around 15M.

<b>Fatal error</b>: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1093080 bytes) in <b>/eventum/include/class.support.php</b> on line <b>491</b><br />

It seems to be a problem with attachments - even small ones cause the memory to get consumed. Could it be a MIME handling bug?

It's not a bug. This is what the MIME parsing library from PEAR requires to parse an email with large attachments.

Since we do convert email attachments into issue attachments, there's really no other way to implement this. We need to parse the attachments in order to link them with the issue.

--Joao