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 ] }
*/
public static function create($file, $type)
{
switch ($type) {
case 'png':
$image = imagecreatefrompng($file);
break;
case 'gif':
$image = imagecreatefromgif($file);
break;
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 |