Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 79847425 bytes) in /app/vendor/imagine/imagine/src/Gd/Image.php on line 795
Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 79847425 bytes) (500 Internal Server Error)

Symfony Exception

OutOfMemoryError

HTTP 500 Internal Server Error

Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 79847425 bytes)

Exception

Symfony\Component\ErrorHandler\Error\ OutOfMemoryError

Show exception properties
Symfony\Component\ErrorHandler\Error\OutOfMemoryError {#8058
  -error: array:4 [
    "type" => 1
    "message" => "Allowed memory size of 268435456 bytes exhausted (tried to allocate 79847425 bytes)"
    "file" => "/app/vendor/imagine/imagine/src/Gd/Image.php"
    "line" => 795
  ]
}
  1. if (function_exists('imageantialias')) {
  2. imageantialias($resource, true);
  3. }
  4. $transparent = imagecolorallocatealpha($resource, 255, 255, 255, 127);
  5. imagefill($resource, 0, 0, $transparent);
  6. imagecolortransparent($resource, $transparent);
  7. return $resource;
  8. }

Logs 1

Level Channel Message
INFO 21:37:15 request Matched route "liip_imagine_filter".
{
    "route": "liip_imagine_filter",
    "route_parameters": {
        "_route": "liip_imagine_filter",
        "_controller": "Liip\\ImagineBundle\\Controller\\ImagineController::filterAction",
        "filter": "cover_card",
        "path": "uploads/publications/p-thumb-5b183-advice-advise-advisor-7097-6aabdc542ba28411060135.jpg"
    },
    "request_uri": "https://uat.human-talent-consulting.com/media/cache/resolve/cover_card/uploads/publications/p-thumb-5b183-advice-advise-advisor-7097-6aabdc542ba28411060135.jpg",
    "method": "GET"
}
DEBUG 21:37:15 security Checking for authenticator support.
{
    "firewall_name": "main",
    "authenticators": 1
}
DEBUG 21:37:15 security Checking support on authenticator.
{
    "firewall_name": "main",
    "authenticator": "Symfony\\Component\\Security\\Http\\Authenticator\\Debug\\TraceableAuthenticator"
}
DEBUG 21:37:15 security Authenticator does not support the request.
{
    "firewall_name": "main",
    "authenticator": "Symfony\\Component\\Security\\Http\\Authenticator\\Debug\\TraceableAuthenticator"
}
CRITICAL 21:37:15 request Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\OutOfMemoryError: "Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 79847425 bytes)" at Image.php line 795
{
    "exception": {}
}

Stack Trace

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

  at vendor/imagine/imagine/src/Gd/Image.php:795                
Loading…
Loading the web debug toolbar…
Attempt #