【Android】性能优化

Android产生OOM(out of memory)的原因包括:drawable、remoteviews、receiver、cursor、inputstream、mediaplayer等;BitMap大数据;

memory link 检测工具:Eclipse的MAT插件

使用:http://blog.csdn.net/caiwenfeng_for_23/article/details/23210315

重要资料:http://www.zhihu.com/question/19772290u

方法:BitMap的管理(缩小图像比例)、手动管理activity栈、将内存使用转移到C层、V4包中很多cache

java GC 机制:http://www.cnblogs.com/zhguang/p/3257367.html

 

posted @ 2015-06-04 09:05  自信乐观  阅读(132)  评论(0编辑  收藏  举报