Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/tozato_ru_usr/data/www/tozato.ru/vendor/symfony/http-kernel/DataCollector/LoggerDataCollector.php on line 211

Warning: Cannot modify header information - headers already sent by (output started at /var/www/tozato_ru_usr/data/www/tozato.ru/vendor/symfony/http-kernel/DataCollector/LoggerDataCollector.php:211) in /var/www/tozato_ru_usr/data/www/tozato.ru/vendor/symfony/http-foundation/Session/SessionUtils.php on line 52
Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) (500 Internal Server Error)

Symfony Exception

OutOfMemoryError

HTTP 500 Internal Server Error

Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes)

Exception

Symfony\Component\ErrorHandler\Error\ OutOfMemoryError

Show exception properties
Symfony\Component\ErrorHandler\Error\OutOfMemoryError {#62324
  -error: array:4 [
    "type" => 1
    "message" => "Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes)"
    "file" => "/var/www/tozato_ru_usr/data/www/tozato.ru/vendor/symfony/http-kernel/DataCollector/LoggerDataCollector.php"
    "line" => 211
  ]
}
  1.         }
  2.         $logs = [];
  3.         foreach (file($compilerLogsFilepath\FILE_IGNORE_NEW_LINES) as $log) {
  4.             $log explode(': '$log2);
  5.             if (!isset($log[1]) || !preg_match('/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*+(?:\\\\[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*+)++$/'$log[0])) {
  6.                 $log = ['Unknown Compiler Pass'implode(': '$log)];
  7.             }
  8.             $logs[$log[0]][] = ['message' => $log[1]];
  9.         }

Logs 1

Level Channel Message
CRITICAL 16:03:01 request Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\OutOfMemoryError: "Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes)" at LoggerDataCollector.php line 211
{
    "exception": {}
}

Stack Trace

OutOfMemoryError
Symfony\Component\ErrorHandler\Error\OutOfMemoryError:
Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes)

  at vendor/symfony/http-kernel/DataCollector/LoggerDataCollector.php:211