Re: Allowed memory size exhausted (line 130 of "/usr/share/php/Horde/ErrorHandler.php")
Daniel Bareiro <[email protected]> Thu, 14 Feb 2019 17:01:58 -0300
| Newsgroups | gmane.comp.horde.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, Grouchy.
On 14/2/19 15:38, Grouchy Sysadmin wrote:
>> Some time ago I am observing this error in the syslog:
>>
>> ----------
>> HORDE: Allowed memory size of 134217728 bytes exhausted (tried to
>> allocate 106430464 bytes) [pid 700 on line 130 of
>> "/usr/share/php/Horde/ErrorHandler.php"]
>> ----------
>>
>> As I see, the block referred to in the error is the following:
>>
>> ----------
>> 125 if (is_object($error)) {
>> 126 echo '<h3>' .
>> Horde_Core_Translation::t("Details") . '</h3>';
>> 127 echo '<h4>' . Horde_Core_Translation::t("The
>> full error message is logged in Horde's log file, and is shown below
>> only to administrators. Non-a dministrative users will not see error
>> details.") . '</h4>';
>> 128 ob_flush();
>> 129 flush();
>> 130 echo '<div id="details"><pre>' .
>> htmlspecialchars(print_r($error, true)) . '</pre></div>';
>> 131 }
>> ----------
>>
>> Any information to fix it would be appreciated, since this error appears
>> approximately every 10 min in the syslog. If there is any way I can
>> provide more debug information, please let me know.
>>
>> I'm using Horde Groupware 5.2.22.
> Adjust the PHP memory_limit to a higher number. For example,
>
> memory_limit = 256M
I have tried increasing the memory_limit values to 256M and 512M, but it
also increases the memory used with the same error:
With memory_limit = 256M:
HORDE: Allowed memory size of 268435456 bytes exhausted (tried to
allocate 240648192 bytes) [pid 9533 on line 130 of
"/usr/share/php/Horde/ErrorHandler.php"]
With memory_limit = 512M:
HORDE: Allowed memory size of 536870912 bytes exhausted (tried to
allocate 510394368 bytes) [pid 10118 on line 130 of
"/usr/share/php/Horde/ErrorHandler.php"]
I'm not sure but could it be that the format of any specific email is
causing this problem?
Thanks for your reply.
Kind regards,
Daniel
--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
signature.asc
(application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQS/swjWtNExsnK5Kc5mlr8bFOYdNwUCXGXJNgAKCRBmlr8bFOYd N+cVAJ4ngR8lVFmVEbo7rM9e2LI+PmPWuQCfYPMfGXWkcP2nm0V0BRS1SYt6Zq4= =Tf3Y -----END PGP SIGNATURE-----