Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 380115409 bytes) in /application/vendor/imagine/imagine/src/Gd/Image.php on line 795

Warning: Cannot modify header information - headers already sent by (output started at /application/vendor/imagine/imagine/src/Gd/Image.php:795) in /application/vendor/symfony/http-foundation/Response.php on line 322
Error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 380115409 bytes) (500 Internal Server Error)

Symfony Exception

OutOfMemoryError

HTTP 500 Internal Server Error

Error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 380115409 bytes)

Exception

Symfony\Component\ErrorHandler\Error\ OutOfMemoryError

Show exception properties
Symfony\Component\ErrorHandler\Error\OutOfMemoryError {#6515
  -error: array:4 [
    "type" => 1
    "message" => "Allowed memory size of 1073741824 bytes exhausted (tried to allocate 380115409 bytes)"
    "file" => "/application/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. }

Stack Trace

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

  at vendor/imagine/imagine/src/Gd/Image.php:795