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


i'm getting "aw, snap!" chrome crash when webpage being loaded. i'm trying best figure out what's causing , having hard time.

in chrome developer's tool there memory tab , when looking @ counter graphs, notice dom node count line steps up, drops, , continues rise.

dom node count increasing

i understood mean dom element counts on page increasing after doing

document.getelementsbytagname("*").length 

in console noticed value wasn't changing.

so dom node count graph showing? if continues increasing this, potentially cause of "aw, snap!" crash?

the dom node count graph shows number of created dom nodes still held in memory, i.e. have not been garbage collected yet. doesn't have coincide elements through getelementsbytagname. latter elements attached document tree. won't 'offline' items still have references.

an easy way stuck particular pyramid growth widget facebook api, contains code on run-away timer creates boatloads of additional dom nodes.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -