No es la mejor forma de hacerlo... Dice que se está quedando sin memoria. Podrías usar
imagecreatefromjpeg para no traer todo el string del archivo.
Código PHP:
$img_fuente=imagecreatefromjpeg($this->route) or die("Cannot Initialize new GD image stream");