I take an image with camera an store it in the sd card, the image stored must be upload from sd card to an imageView like that:
myBitmap = BitmapFactory.decodeFi
Using BitmapFactory in mobile is a memory consuming process. This problem will arise when you are trying to decode a lot of images continuously. As in java there is no option to free the memory allocated to the variable " myBitmap ". So make sure that these types of variables are set to null after using it.
Also try to use
System.gc() to clear the garbage collection.
If an error is thrown while executing "_image.setImageBitmap(myBitmap);" line then try to reduce the image size before displaying