1. 停留在断点
2. 在Chrome devtool memory面板中take heap snapshot,选择containments,从(Stack roots)中寻找当前的Object,占用空间的单位是byte
https://developer.chrome.com/docs/devtools/memory-problems/heap-snapshots/
微信扫一扫
1. 停留在断点
2. 在Chrome devtool memory面板中take heap snapshot,选择containments,从(Stack roots)中寻找当前的Object,占用空间的单位是byte
https://developer.chrome.com/docs/devtools/memory-problems/heap-snapshots/
相关推荐