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.

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值