[imp] Forwarding of attachments not consistent ...

Michael M Slusarz slusarz at bigworm.colorado.edu
Tue Nov 4 08:44:34 PST 2003


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.

michael

______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the imp mailing list