[horde] How much memory to set memory_limit to?

Simon Brereton simon.brereton at buongiorno.com
Mon Nov 28 15:07:02 UTC 2011


On 25 November 2011 17:21, Michael M Slusarz <slusarz at horde.org> wrote:
> Quoting Simon Brereton <simon.brereton at buongiorno.com>:
>
>> On 25 November 2011 16:20, Pro Green European
>> <pro_green_european at yahoo.com> wrote:
>>>
>>> Hi.
>>>
>>> I've set 512M as the default memory_limit value in PHP for my webmail
>>> system.
>>>
>>> How much should I really allocate? I think 512M is quite a lot of memory.
>>>
>>> I've tried with 384M, but it didn't take long before I started seeing
>>> memory exhausted messages in Apache's error log.
>>
>> This was discussed at length a few weeks ago because of an issue I was
>> having.  You should be able to find the thread in the archive.  Some
>> were ok with 256, some recommended 512 and some even proposed 1024.
>> Currently I'm up to 384, but I can go to 512 if I get more out of
>> memory messages.
>
> And as I previously mentioned, all of these values seem exceedingly high.
>  Especially for viewing a message.
>
> The only possibility of reaching this kind of memory use is by using the SQL
> VFS backend.  This is now highly discouraged - use the filesystem VFS
> backend instead.

Thanks Michael.  I am indeed using the SQL VFS - I'll switch to the
filesystem VFS and see.  However, I'm a little reluctant to do so
without a better understanding of what gets placed.  Can you shed some
light on that?  Also, I used the SQL VFS because that's what I was
using in H3.  If filesystem is recommended for H4, then the drop-down
option in the VFS tab should have a (recommended) next to it  (and
perhaps a notes as to the reasons why).

Thanks.

Simon


More information about the horde mailing list