Heap updates are NOT ENABLED
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.
最後更新:2017-04-03 14:54:18