What is the DOM Node Count in google chrome's developer tools timeline memory view?

后端 未结 2 864
小蘑菇
小蘑菇 2021-02-01 01:54

I\'m getting an \"Aw, snap!\" chrome crash when a certain webpage is being loaded. I\'m trying my best to figure out what\'s causing it and having a really hard time.

In

2条回答
  •  执笔经年
    2021-02-01 02:39

    DOM nodes that are still held in memory are so called detached nodes. This means they are not shown in the DOM tree of your page, but some JavaScript code still references them somewhere. Read through this google dev tools post that explains what Detached DOM nodes are with simple code and how to detect it using Chrome DevTools: https://developers.google.com/web/tools/chrome-devtools/memory-problems/

提交回复
热议问题