Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 48246784 bytes) in /app/vendor/twig/twig/src/Template.php on line 417
Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 48246784 bytes) (500 Internal Server Error)

Symfony Exception

OutOfMemoryError

HTTP 500 Internal Server Error

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

Exception

Symfony\Component\ErrorHandler\Error\ OutOfMemoryError

Show exception properties
Symfony\Component\ErrorHandler\Error\OutOfMemoryError {#30047
  -error: array:4 [
    "type" => 1
    "message" => "Allowed memory size of 134217728 bytes exhausted (tried to allocate 48246784 bytes)"
    "file" => "/app/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 11:45:59 deprecation User Deprecated: The Liip\ImagineBundle\Templating\FilterTrait trait is deprecated since version 2.7 and will be removed in 3.0; use Twig instead.
{
    "exception": {}
}
INFO 11:45:59 deprecation User Deprecated: The Liip\ImagineBundle\Templating\FilterExtension class is deprecated since version 2.7 and will be removed in 3.0; configure "liip_imagine.twig.mode" to "lazy" instead.
{
    "exception": {}
}
INFO 11:45:59 deprecation User Deprecated: Class "Doctrine\ORM\Proxy\Autoloader" is deprecated. Use native lazy objects instead. (Autoloader.php:74 called by DoctrineBundle.php:136, https://github.com/doctrine/orm/pull/12005, package doctrine/orm)
{
    "exception": {}
}
INFO 11:45:59 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "9f6ef9"
    },
    "request_uri": "https://socle-sf74.preprod.sercopw.fr/_profiler/9f6ef9?panel=db&type=request",
    "method": "GET"
}
CRITICAL 11:46:01 request Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\OutOfMemoryError: "Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 48246784 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 48246784 bytes)

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