Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 220763409 bytes) in /hp/aa/ag/ub/www/joomla5/templates/yootheme/packages/image/src/Image/GDResource.php on line 187
Error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 220763409 bytes) (500 Whoops, looks like something went wrong.)

OutOfMemoryError

HTTP 500 Whoops, looks like something went wrong.

Error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 220763409 bytes)

Exception

Symfony\Component\ErrorHandler\Error\ OutOfMemoryError

Show exception properties
Symfony\Component\ErrorHandler\Error\OutOfMemoryError {#1227
  -error: array:4 [
    "type" => 1
    "message" => "Allowed memory size of 536870912 bytes exhausted (tried to allocate 220763409 bytes)"
    "file" => "/hp/aa/ag/ub/www/joomla5/templates/yootheme/packages/image/src/Image/GDResource.php"
    "line" => 187
  ]
}
  1. protected static function createImage($width, $height, $color = 'transparent')
  2. {
  3. $rgba = static::parseColor($color);
  4. $image = imagecreatetruecolor($width, $height);
  5. imagefill($image, 0, 0, $rgba);
  6. if ($color == 'transparent') {
  7. imagecolortransparent($image, $rgba);
  8. }

Stack Trace

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

  at /hp/aa/ag/ub/www/joomla5/templates/yootheme/packages/image/src/Image/GDResource.php:187