Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8404992 bytes) in /var/www/html/test/vendor/twig/twig/src/Template.php on line 350

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/test/vendor/twig/twig/src/Template.php:350) in /var/www/html/test/vendor/symfony/http-foundation/Session/SessionUtils.php on line 52
Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8404992 bytes) (500 Internal Server Error)

Symfony Exception

OutOfMemoryError

HTTP 500 Internal Server Error

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

Exception

Symfony\Component\ErrorHandler\Error\ OutOfMemoryError

Show exception properties
Symfony\Component\ErrorHandler\Error\OutOfMemoryError {#72348
  -error: array:4 [
    "type" => 1
    "message" => "Allowed memory size of 134217728 bytes exhausted (tried to allocate 8404992 bytes)"
    "file" => "/var/www/html/test/vendor/twig/twig/src/Template.php"
    "line" => 350
  ]
}
  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. {

Stack Trace

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

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