Heap updates are NOT ENABLED

来源:互联网 发布:软件通用质量特性 编辑:程序博客网 时间:2024/05/01 01:30
Displays some heap stats, updated during garbage collection. If, when a VM is selected, the VM Heap view says that heap updates are not enabled, click the "Show heap updates" button, located in the top-left toolbar. Back in the VM Heap view, click Cause GC to perform garbage collection and update the heap stats.

在devices 栏里面 点击一下update heap 按钮就行了。如下图所示,

点击了以后不会马上有,等下一次 gc 回收旧有了.


1 在Devices下选择一个进程,并点击它上面的一排按钮的第二个进行update heap,也就是调试按钮边上那个。
2 第一步之后,点击heap工具的Cause GC 就可以了。
明白了吗,不明白的话加我QQ:522590434.

原创粉丝点击