在JVM虚拟机运行的程序中,如果我们加载图片的速度快于图片资源释放的速度,会抛出内存溢出异常。
见
http://mobi-solutions.blogspot.com/2010/08/how-to-if-you-want-to-create-and.html
有详细说明。
通常我们使用InputStream读取图片并生成临时Bitmap对象的时候,我们需要将临时资源释放
见
http://mobi-solutions.blogspot.com/2010/08/how-to-if-you-want-to-create-and.html
有详细说明。
通常我们使用InputStream读取图片并生成临时Bitmap对象的时候,我们需要将临时资源释放