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

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:344) 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 2109440 bytes) (500 Internal Server Error)

Symfony Exception

OutOfMemoryError

HTTP 500 Internal Server Error

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

Exception

Symfony\Component\ErrorHandler\Error\ OutOfMemoryError

Show exception properties
Symfony\Component\ErrorHandler\Error\OutOfMemoryError {#63392
  -error: array:4 [
    "type" => 1
    "message" => "Allowed memory size of 134217728 bytes exhausted (tried to allocate 2109440 bytes)"
    "file" => "/var/www/tozato_ru_usr/data/www/tozato.ru/vendor/twig/twig/src/Template.php"
    "line" => 344
  ]
}
  1.     }
  2.     public function display(array $context, array $blocks = []): void
  3.     {
  4.         foreach ($this->yield($context$blocks) as $data) {
  5.             echo $data;
  6.         }
  7.     }
  8.     public function render(array $context): string
  9.     {

Logs 1

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

Stack Trace

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

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