Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 532480 bytes) in /var/www/tozato_ru_usr/data/www/tozato.ru/vendor/twig/twig/src/Template.php on line 367

Warning: Cannot modify header information - headers already sent by (output started at /var/www/tozato_ru_usr/data/www/tozato.ru/vendor/twig/twig/src/Template.php:367) 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 532480 bytes) (500 Internal Server Error)

Symfony Exception

OutOfMemoryError

HTTP 500 Internal Server Error

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

Exception

Symfony\Component\ErrorHandler\Error\ OutOfMemoryError

Show exception properties
Symfony\Component\ErrorHandler\Error\OutOfMemoryError {#61595
  -error: array:4 [
    "type" => 1
    "message" => "Allowed memory size of 134217728 bytes exhausted (tried to allocate 532480 bytes)"
    "file" => "/var/www/tozato_ru_usr/data/www/tozato.ru/vendor/twig/twig/src/Template.php"
    "line" => 367
  ]
}
  1.                 }
  2.                 throw $e;
  3.             }
  4.             return ob_get_clean();
  5.         }
  6.         $content '';
  7.         foreach ($this->yield($context) as $data) {
  8.             $content .= $data;

Logs 1

Level Channel Message
CRITICAL 01:56:55 request Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\OutOfMemoryError: "Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 532480 bytes)" at Template.php line 367
{
    "exception": {}
}

Stack Trace

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

  at vendor/twig/twig/src/Template.php:367