我有一个用 ReactJS 编写的大型应用程序,想找出我的代码中发生的内存泄漏。是否有任何工具或技术可以找到相同的内容?
1 回答

鸿蒙传说
TA贡献1865条经验 获得超7个赞
使用谷歌浏览器的开发人员工具Profiling memory performance
,
通过拍摄快照,Take Heap Snapshot
并进行比较。基本上在行动之前拍摄快照,然后在行动之后,您可以检查“比较”视图以查看是否检测到任何内容。
添加回答
举报
0/150
提交
取消