[imp] Forwarding of attachments not consistent ...

Marc G. Fournier scrappy at hub.org
Tue Nov 4 09:44:05 PST 2003



On Tue, 4 Nov 2003, Michael M Slusarz wrote:

> Quoting Gary Smith <gary at primeexalia.com>:
>
> | Marc,
> |
> | That's the winning question.  I'm not sure.  I have been working on a few
> | projects with PHP that utilize a lot of memory.  They are Intranet
> | application involving uploading of very large (10mb) data imports.  We
> | ran into some similar problems.  The uploading wasn't the problem but the
> | processing of the file contents into array (similar to your problem
> | below) was the problem.
> |
> | As I'm no expert on the memory consumption of horde/imp I'll let the
> | group fill in the rest.
>
> Short answer - disable memory limits.  From horde/test.php:
> If PHP's internal memory limit is turned on and is set too low, Horde will
> not be able to handle large data items (e.g. large mail attachments in
> IMP). If possible, you should disable the PHP memory limit by recompiling
> PHP *without* the "--enable-memory-limit" flag. If this is not possible,
> then you should set the value of memory_limit in php.ini to a sufficiently
> high value.

'K ... but, is there no way of trapping problems like this?  Instead of
the erractic behaviour like I was experiencing?


More information about the imp mailing list