[horde] PHP Memory allocation problem

r.j.baart at prompt.nl r.j.baart at prompt.nl
Tue Jan 22 08:24:11 UTC 2019


Thank you, installing debian package php7.0-bcmath solves the problem.

Memory problem was most probably related to decoding MS-TNEF.


Op 22-1-2019 om 01:13 schreef Michael J Rubinsky:

> Try installing the PHP bcmath extension. The pear Math_BigInt library 
> has some memory bugs...
>
> mike
> Sent from mobile
> ------------------------------------------------------------------------
> *From:* r.j.baart at prompt.nl
> *Sent:* Monday, January 21, 2019 5:28 PM
> *To:* horde at lists.horde.org
> *Subject:* [horde] PHP Memory allocation problem
>
> Hi,
>
> I upgraded a Debian jessie server to Debian stretch. In this upgrade PHP
> is upgraded to version 7.0.33. The upgrade was tested on other servers
> and to my knowledge without problems.
>
> Horde was updated to the latest versions: "Channel pear.horde.org: No
> upgrades available".
>
> Within the web interface we got the following error in the horde logfile
> while accessing some emails:
>
>     PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted
>     (tried to allocate 603979776 bytes) in
>     /usr/share/php/Math/BigInteger.php on line 1090, referer:
> https://myserver.mydomain.tld/imp/dynamic.php?page=mailbox
>
> Increasing to memory limit in php.ini does not solve the problem. I
> increased it from 128Mb to 256Mb and finally to 512Mb.  The allocation
> increased also.
>
> I'm not sure but perhaps it is related to the format of the mail. I
> think that with a content-Type: application/ms-tnef; name="winmail.dat"
> the problem is there.
>
> I have no idea where to look for a solution. Anyone an idea?
>
>
> Thanks,
>
> Ruud Baart
>


More information about the horde mailing list