Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 39858176 bytes) in /var/www/tcgcards_dev/vendor/twig/twig/src/Template.php on line 417

Warning: session_id(): Session ID cannot be changed after headers have already been sent (sent from /var/www/tcgcards_dev/vendor/twig/twig/src/Template.php on line 416) in /var/www/tcgcards_dev/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php on line 74
Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 39858176 bytes) (500 Internal Server Error)

Symfony Exception

OutOfMemoryError

HTTP 500 Internal Server Error

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

Exception

Symfony\Component\ErrorHandler\Error\ OutOfMemoryError

Show exception properties
Symfony\Component\ErrorHandler\Error\OutOfMemoryError {#4327
  -error: array:4 [
    "type" => 1
    "message" => "Allowed memory size of 134217728 bytes exhausted (tried to allocate 39858176 bytes)"
    "file" => "/var/www/tcgcards_dev/vendor/twig/twig/src/Template.php"
    "line" => 417
  ]
}
  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
INFO 20:13:12 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "a4edd9"
    },
    "request_uri": "https://dev.tcgcards.fr/_profiler/a4edd9?group=0&panel=db",
    "method": "GET"
}
CRITICAL 20:13:16 request Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\OutOfMemoryError: "Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 39858176 bytes)" at Template.php line 417
{
    "exception": {}
}

Stack Trace

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

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