[horde] Allowed memory size exhausted (line 130 of "/usr/share/php/Horde/ErrorHandler.php")
Daniel Bareiro
daniel-listas at gmx.net
Thu Feb 14 20:01:58 UTC 2019
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <https://lists.horde.org/archives/horde/attachments/20190214/7fda8470/attachment.bin>
More information about the horde
mailing list