The scale in ScaleImage is the amount of times to scale, not the number of pixels. So if your original image were 256x256, it would end up at 28,160 pixels by 28,160 pixels with ScaleImage(image,110,110). That's over 3 GB of memory, and last time I looked, there were not very many cards with that much.