by tcper on 9/16/22, 3:30 AM with 0 comments
* Stats.js capable to show memory occupation with no latency, I don't know why Devtool can't make it happen. * 'Allocation instrumentation on timeline' take timeline snapshot, but you can not watch memory usage when snapshotting.
Use Heap Snapshot take 2 memory snapshot to make a diff, and find out where memory leak. But when you testing a memory leaking suspicious page, it will show millions of objects like this:
Object@4863 Object@4865 Object@4867 Object@4869 Object@4871 Object@4873 Object@4875 Object@4877 Object@4879
* You can not identify which Class of these objects easily, even you examine the object hierarchy.
So, how do you use Devtool for memory leak hunting?