Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 24576 bytes) in /data/hcc_dev_2024/silverstripe/vendor/intervention/image/src/Intervention/Image/Gd/Decoder.php on line 154
GET /cemeteries/hamilton-park-cemetery/cemetery-and-burial-locations

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

GET /cemeteries/hamilton-park-cemetery/cemetery-and-burial-locations

Line 154 in /data/hcc_dev_2024/silverstripe/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