Re: Mail::MimeDecode
| From: | Damian Alejandro Fernandez Sosa | Date: | Thu, 06 Mar 2003 03:21:05 +0000 |
| Subject: | Re: Mail::MimeDecode | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-14099@lists.php.net to get a copy of this message | ||
this is a php.ini specific issue.
By default php limits the amount of memory a script can use to 8MB.
you need to change the memory_limit parameter to a higher value.
(i think that 0 means unlimited)
On Wed, 2003-03-05 at 23:49, Abu (at) Trabas (dot) Com wrote:
> I try to use Mail Class (Mail::mimeDecode) to get attachment > 1024KB,
> if file attachment < 1024KB Mail::mimeDecode there is no problem and
> but if attachment > 1024KB, the error is:
>
>
> Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
> allocate 1031185 bytes) in
> /mnt/abu/sw/webroot/gah/web/lib/pear/Mail/mimeDecode.php on line 260
>
> Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
> allocate 32 bytes) in /mnt/abu/sw/webroot/gah/web/lib/pear/PEAR.php on
> line 636
>
> How to solve this problem? Richard?
>
> -az