[horde] attachment problem

Paras pradhan pradhanparas at gmail.com
Thu Jan 27 23:10:46 UTC 2011


Thanks guys that make sense !

Paras

On Wed, Jan 26, 2011 at 1:27 PM, Michael M Slusarz <slusarz at horde.org> wrote:
> Quoting Paras pradhan <pradhanparas at gmail.com>:
>
>> Rick ,
>>
>> You are right. I see the following in log
>>
>> --
>> PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted
>> (tried to allocate 11581821 bytes) in
>> /var/www/html/h/lib/Horde/Serialize.php on line 278
>> --
>>
>> But I don't understand why it is failing since allowed memory is
>> greater than tried to allocate bytes.
>
> Because the "allocated X bytes" reported in the log is the amount PHP
> attempted to allocate *in addition* to whatever memory was already being
> used.  e.g. in the log entry above, PHP may have already been using
> 134217728 bytes; allocating 1 additional byte is what triggers the error.
>
>> And I have 128M memory limit. Trying to keep it down since my server
>> has really high number of web server child processes :)
>
> Then you have to accept the fact that you can't send large attachments.
>
> FYI, IMP 5 solves (most) of these issues as it handles message data entirely
> via streams, automatically spooling to disk once memory usage goes above 2
> MB.  Unfortunately this is not available in IMP 4/Horde 3 since these
> streams are a relatively recent addition to PHP.
>
> michael
>
> --
> ___________________________________
> Michael Slusarz [slusarz at horde.org]
>
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>


More information about the horde mailing list