1. 停留在断点
2. 在Chrome devtool memory面板中take heap snapshot,选择containments,从(Stack roots)中寻找当前的Object,占用空间的单位是byte
https://developer.chrome.com/docs/devtools/memory-problems/heap-snapshots/
查看对象占用空间大小
阅读 151
2022-08-16
1. 停留在断点
2. 在Chrome devtool memory面板中take heap snapshot,选择containments,从(Stack roots)中寻找当前的Object,占用空间的单位是byte
https://developer.chrome.com/docs/devtools/memory-problems/heap-snapshots/
相关推荐
精彩评论(0)