Skip to content

crash_reporter.php: Fatal error: Allowed memory exhausted  #768

@oparoz

Description

@oparoz

The PHP error log got quite large

-rw-r-----   1 squid  wheel   152M Feb  9 22:58 PHP_errors.log

and so when opening the crash reporter, I get this:

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 158880042 bytes) in /usr/local/www/crash_reporter.php on line 137 Call Stack: 0.0009 271272 1. {main}() /usr/local/www/crash_reporter.php:0 3.0008 164537528 2. trim() /usr/local/www/crash_reporter.php:137

Maybe only collect the last 300 lines?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions