Symfony\Component\ErrorHandler\Error\OutOfMemoryError {#2131 -error: array:4 [ "type" => 1 "message" => "Allowed memory size of 536870912 bytes exhausted (tried to allocate 191798161 bytes)" "file" => "/var/www/md2009/data/www/ecovisio.org/templates/yootheme/packages/image/src/Image/GDResource.php" "line" => 187 ] }
protected static function createImage($width, $height, $color = 'transparent')
{
$rgba = static::parseColor($color);
$image = imagecreatetruecolor($width, $height);
imagefill($image, 0, 0, $rgba);
if ($color == 'transparent') {
imagecolortransparent($image, $rgba);
}
OutOfMemoryError
|
---|
Symfony\Component\ErrorHandler\Error\OutOfMemoryError: Error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 191798161 bytes) at /var/www/md2009/data/www/ecovisio.org/templates/yootheme/packages/image/src/Image/GDResource.php:187 |