[horde] Allowed memory size exhausted (line 130 of "/usr/share/php/Horde/ErrorHandler.php")

Grouchy Sysadmin sysadmin at grouchysysadmin.com
Thu Feb 14 18:38:33 UTC 2019


On 2/14/19 9:31 AM, Daniel Bareiro wrote:
> Dear Horde Developers,
>
> 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.
>
> Thanks in advance.
>
> Kind regards,
> Daniel
>
>

Adjust the PHP memory_limit to a higher number. For example,

memory_limit = 256M



More information about the horde mailing list