I encountered memory issues when displaying large jpegs (in series) in a slideshow-like activity. I learned that you need to recycle the bitmaps with a call to recycle():
ImageView img; Bitmap bitmap = ((BitmapDrawable) img.getDrawable()).getBitmap(); bitmap.recycle(); img.setImageResource(imgID[currentImg]);
Note that ‘imgID’ is an array of resource IDs.