Re: PHP Memory allocation problem

Michael J Rubinsky <[email protected]> Mon, 21 Jan 2019 19:13:54 -0500
Newsgroups gmane.comp.horde.user
Message-ID <[email protected]>
Try installing the PHP bcmath extension. The pear Math_BigInt library has some memory bugs... 

mike
Sent from mobile
________________________________
From: [email protected]
Sent: Monday, January 21, 2019 5:28 PM
To: [email protected]
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: [email protected]

-- 
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
smime.p7s (application/x-pkcs7-signature, 5 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.