imageView(或其他类似控件)一定要先手动释放掉图片资源
Bitmap bitmap = BitmapFactory.decodeFile(uri, opts);
Drawable drawable = new BitmapDrawable(bitmap);
Bitmap previousbitmap = previousImage.getDrawingCache();
if(previousbitmap != null && !previousbitmap.isRecycled())
previousbitmap.Recycle();
previousImage.setImageDrawable(drawable);
百度一下“安卓 内存溢出”