更新时间: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).