[Alert] Allowed memory size of 134217728 bytes exhausted (tried to allocate 48666625 bytes)

GET /blog/tag/kpi

Line 83 in /var/www/web/vendor/intervention/image/src/Intervention/Image/Gd/Driver.php

Source

74      */
75     public function cloneCore($core)
76     {
77         $width = imagesx($core);
78         $height = imagesy($core);
79         $clone = imagecreatetruecolor($width, $height);
80         imagealphablending($clone, false);
81         imagesavealpha($clone, true);
82         $transparency = imagecolorallocatealpha($clone, 0, 0, 0, 127);
83         imagefill($clone, 0, 0, $transparency);
84         
85         imagecopy($clone, $core, 0, 0, 0, 0, $width, $height);
86 
87         return $clone;
88     }
89 }

Trace