xutils出现内存溢出,异常信息见内容
08-13 15:42:16.861: E/BitmapDecoder.decodeSampledBitmapFromDescriptor(L:89)(31461): Failed to allocate a 2001012 byte allocation with 610432 free bytes and 596KB until OOM
08-13 15:42:16.861: E/BitmapDecoder.decodeSampledBitmapFromDescriptor(L:89)(31461): java.lang.OutOfMemoryError: Failed to allocate a 2001012 byte allocation with 610432 free bytes and 596KB until OOM08-13 15:42:16.861: E/BitmapDecoder.decodeSampledBitmapFromDescriptor(L:89)(31461): at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
08-13 15:42:16.861: E/BitmapDecoder.decodeSampledBitmapFromDescriptor(L:89)(31461): at android.graphics.BitmapFactory.nativeDecodeFileDescriptor(Native Method)
08-13 15:42:16.861: E/BitmapDecoder.decodeSampledBitmapFromDescriptor(L:89)(31461): at android.graphics.BitmapFactory.decodeFileDescriptor(BitmapFactory.java:905)
08-13 15:42:16.861: E/BitmapDecoder.decodeSampledBitmapFromDescriptor(L:89)(31461): at com.lidroid.xutils.bitmap.core.BitmapDecoder.decodeSampledBitmapFromDescriptor(BitmapDecoder.java:87)
08-13 15:42:16.861: E/BitmapDecoder.decodeSampledBitmapFromDescriptor(L:89)(31461): at com.lidroid.xutils.bitmap.core.BitmapCache.getBitmapFromDiskCache(BitmapCache.java:275)
08-13 15:42:16.861: E/BitmapDecoder.decodeSampledBitmapFromDescriptor(L:89)(31461): at com.lidroid.xutils.BitmapUtils$BitmapLoadTask.doInBackground(BitmapUtils.java:436)
08-13 15:42:16.861: E/BitmapDecoder.decodeSampledBitmapFromDescriptor(L:89)(31461): at com.lidroid.xutils.BitmapUtils$BitmapLoadTask.doInBackground(BitmapUtils.java:1)
08-13 15:42:16.861: E/BitmapDecoder.decodeSampledBitmapFromDescriptor(L:89)(31461): at com.lidroid.xutils.task.PriorityAsyncTask$1.call(PriorityAsyncTask.java:67)
08-13 15:42:16.861: E/BitmapDecoder.decodeSampledBitmapFromDescriptor(L:89)(31461): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
08-13 15:42:16.861: E/BitmapDecoder.decodeSampledBitmapFromDescriptor(L:89)(31461): at com.lidroid.xutils.task.PriorityRunnable.run(PriorityRunnable.java:16)
08-13 15:42:16.861: E/BitmapDecoder.decodeSampledBitmapFromDescriptor(L:89)(31461): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
08-13 15:42:16.861: E/BitmapDecoder.decodeSampledBitmapFromDescriptor(L:89)(31461): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
08-13 15:42:16.861: E/BitmapDecoder.decodeSampledBitmapFromDescriptor(L:89)(31461): at java.lang.Thread.run(Thread.java:818)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
现在流行什么Android框架??