且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

为什么使用在启动这么多的内存我的Andr​​oid应用

更新时间:2023-02-02 15:26:11

我遇到了在过去的内存泄漏,但不与机器人。在过去,我用Eclipse的内存分析工具(第二个链接),我发现非常有用的。要使用它,你需要生成一个堆转储文件(或内存快照),博客文章告诉你如何做到这一点(第一个链接)。

I have run into memory leaks in the past but not with android. In the past I used the eclipse memory analyzer tool (second link) which I found very useful. To use it you need to generate a heap dump file (or memory snapshot), the blog post tells you how to do this (first link).

http://www.andorfi.net/2011 / 03 /内存分析换的Andr​​oid的应用程序/

http://www.eclipse.org/mat/