Potential Memory leak or am I just using too large files?

The limit set in my php,ini file is 128MB for my local version I don’t know what’s on my test server though. Must be the same because the error is occurring on both my local and my live test server.

So I tried it and it’s no longer producing an error but it’s no longer cropping the image with the focus plugin (see below).

Maybe Imagemagick isn’t installed locally? I know it’s installed by my host but I haven’t installed it locally I’m just using what was installed with XAMP.

<?php if($image = $page->coverImage()->toFile()): ?>  	
	<div>
		<?php  echo $image->focusCrop(2500, 550);  ?>
	</div>
<?php endif ?>