Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes) in /home/tuskulen/domains/tuskulenumemorialas.lt/public_html/vendor/intervention/image/src/Intervention/Image/Gd/Decoder.php on line 154
GET /renginiai-ir-parodos/

[Alert] Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes)

GET /renginiai-ir-parodos/

Line 154 in /home/tuskulen/domains/tuskulenumemorialas.lt/public_html/vendor/intervention/image/src/Intervention/Image/Gd/Decoder.php

Source

145      * @param  resource $resource
146      * @return bool
147      */
148     public function gdResourceToTruecolor(&$resource)
149     {
150         $width = imagesx($resource);
151         $height = imagesy($resource);
152 
153         // new canvas
154         $canvas = imagecreatetruecolor($width, $height);
155 
156         // fill with transparent color
157         imagealphablending($canvas, false);
158         $transparent = imagecolorallocatealpha($canvas, 255, 255, 255, 127);
159         imagefilledrectangle($canvas, 0, 0, $width, $height, $transparent);
160         imagecolortransparent($canvas, $transparent);

Trace