[imp] [horde] Attachment Size

Michael M Slusarz slusarz at horde.org
Fri Sep 28 10:18:21 UTC 2007


Quoting Matus UHLAR - fantomas <uhlar at fantomas.sk>:

> On 26.09.07 15:49, edwardspl at ita.org.mo wrote:
>> Just updated the php.ini and restart the web server again :
>>
>> But the Maximum Attachment Size is still 2,097,152 bytes display...
>>
>> And tried to send mail ( within attahcment around 1MB ) :
>> Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
>> allocate 1519127 bytes) in
>> /home/itawm/html/horde/lib/Horde/MIME/Part.php on line 1027
>
> turn memory_limit off or set it to bigger value. I had problems processing
> 7MB images with memory_limit of 64MB, because the horde is very hungry for
> memory (mostly MIME processing functions).

The last sentence is an incorrect statement.  We have no direct  
control over how much memory a script uses since memory allocation is  
handled by PHP.  We can fudge around with our code to try to make it  
better, but we are limited to how efficient we can be.

-- 
___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the imp mailing list