Have createCrop and createThumbnail fail gracefully if there isn't memory available.