[horde] PHP Memory allocation problem

Michael J Rubinsky mrubinsk at horde.org
Tue Jan 22 00:13:54 UTC 2019


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 


-- 

Cordialement, 
Tiswe 

R.J. Baart 
Portable: +33 7 88398245 

-- 
Horde mailing list 
Frequently Asked Questions: http://horde.org/faq/ 
To unsubscribe, mail: horde-unsubscribe at lists.horde.org 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5147 bytes
Desc: not available
URL: <https://lists.horde.org/archives/horde/attachments/20190121/af98728b/attachment.bin>


More information about the horde mailing list