
选中所在进程,点击update

右侧找到heap,点击Cause Gc,可以看到

我们主要看data object 和class object占用的内存情况;若程序运行中,这两个有变大有变小基本上稳定没什么问题,但是若一直是变大那么说明是有内存泄漏。
选中所在进程,点击update
右侧找到heap,点击Cause Gc,可以看到
我们主要看data object 和class object占用的内存情况;若程序运行中,这两个有变大有变小基本上稳定没什么问题,但是若一直是变大那么说明是有内存泄漏。
本文标题:AndroidStudio使用Android Device Mo
本文链接:https://www.haomeiwen.com/subject/ppjugxtx.html
网友评论