[imp] problems sending emails with attachment

Robert Jaroszuk zim at iq.pl
Wed Apr 13 06:19:32 PDT 2005


Hello.

I know this problem was discussed here before:

  -> http://lists.horde.org/archives/imp/Week-of-Mon-20030825/034443.html

but I have a bigger problem :)

[13-Apr-2005 14:40:41] PHP Fatal error:  Allowed memory size of
41943040 bytes exhausted (tried to allocate 12353971 bytes) in
/usr/local/pear/Net/SMTP.php on line 720

I'm trying to send email with 4 MB file in attachment.

PHP configuration:

php_value memory_limit 40M
php_value upload_max_filesize 8M
php_value post_max_size 20M

So it is not a problem with php itself (I tried to upload 4M file
by using a simple php script and there were no problems with that).

So, why php is trying to allocate > 50MB of memory to send 4MB file?

Any ideas?

horde 2.2.4 
imp 3.2
php 4.3.11
3G of RAM :P

-- 
..... Robert Jaroszuk - zim iq pl - [ IQ PL Sp. z o.o. ] .....
GCS/IT/O d? s: a-- C++ ULB++++$ P+ L++++$ E--- W- K- N+ DI+ V-
w M- PS+ PE Y(+) PGP-(+++) t-- 5? X- R tv-- b++>++++ D- y+ G++
.. http://zim.iq.pl/ . RJ735-RIPE . http://zim.iq.pl/photo/ ..
... The superior warrior wins without fighting -- Sun Tzu. ...


More information about the imp mailing list