Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 278759712 bytes) in /var/www/md2009/data/www/ecovisio.org/templates/yootheme/packages/image/src/Image/GDResource.php on line 14
Error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 278759712 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 278759712 bytes)

Exception

Symfony\Component\ErrorHandler\Error\ OutOfMemoryError

Show exception properties
Symfony\Component\ErrorHandler\Error\OutOfMemoryError {#2156
  -error: array:4 [
    "type" => 1
    "message" => "Allowed memory size of 536870912 bytes exhausted (tried to allocate 278759712 bytes)"
    "file" => "/var/www/md2009/data/www/ecovisio.org/templates/yootheme/packages/image/src/Image/GDResource.php"
    "line" => 14
  ]
}
  1.      */
  2.     public static function create($file$type)
  3.     {
  4.         switch ($type) {
  5.             case 'png':
  6.                 $image imagecreatefrompng($file);
  7.                 break;
  8.             case 'gif':
  9.                 $image imagecreatefromgif($file);
  10.                 break;

Stack Trace

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

  at /var/www/md2009/data/www/ecovisio.org/templates/yootheme/packages/image/src/Image/GDResource.php:14