安卓 ==>内存分析 ==>Eclipse 内存分析器? [英] Android ==> Memory Analysing ==> Eclipse memory analyzer?
问题描述
我需要检查我的应用程序是否存在内存泄漏,我还需要查看我的应用程序的内存分配.我下载并安装了eclipse内存分析器,看起来第一步是打开heap dump.但是什么是堆转储,我如何创建堆转储.我到底要如何使用这个软件,我做了一些谷歌搜索,但我找不到任何有用的信息谢谢
I need to check my application for memory leaks, i also need to see the memory allocation of my application. I downloaded and installed eclipse memory analyzer, and it looks like the first step is to open a heap dump. But what is a heap dump, how can i create a heap dump. And how exactly am i going to use this software, I did some googling but i couldn't find any useful information thanks
推荐答案
在调试应用时,打开 DDMS 在 Eclipse 中.在工具栏上有一个堆转储按钮,您可以使用它生成堆转储以在 Eclipse 内存分析器中查看.我认为仅支持 1.6+ 或 2.0+ SDK.
When you debug your app, open DDMS in Eclipse. On the toolbar there is a heap dump button that you can use to generate a heap dump to view in Eclipse memory analyzer. This is only supported I think with the 1.6+ or 2.0+ SDK.
这篇关于安卓 ==>内存分析 ==>Eclipse 内存分析器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!