内存不足错误银河S3 4.0.4 [英] Out of Memory Error in Galaxy s3 4.0.4

查看:128
本文介绍了内存不足错误银河S3 4.0.4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序中有网格视图包含图像的大量的,并从Android文档据我所知,Android的提高绘制垃圾收集和内存不足的几率相比低于3.0的操作系统是非常低的。为什么我仍然在4.0.4只是为了─除了这个版本得到了很多的内存不足3.0后,我不会得到一个OOM

my application have grid view contain lot's of images and as from the Android documentation i understand that android improve the drawable garbage collection and the chance of out of memory is very low compared to os below 3.0 . Why still i got lot of out of memory in 4.0.4 only- Except this version i won't get single OOM after 3.0

推荐答案

垃圾收集的改善并不意味着你现在可以加载的位图tonns,导致内存仍然有限。我建议你​​认真学习岗位,并按照这些做法,那么你对任何平台上的OOM保护。希望这有助于。

Garbage collector improvement doesn't mean you can now load tonns of bitmaps, cause memory is still limited. I'd recommend you to learn this post carefully and follow those practices, then you'll be protected against OOM on any platform. Hope this helps.

这篇关于内存不足错误银河S3 4.0.4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆