I am getting error KErrNoMemory=(-4); when scaling image(size 3111*2343) using CBitmapScaler->Scale(&iStatus, aBitmap, aDestinationSize, aMaintainAspectRatio);

please help me how to solve it.

Regards,