Last Updated: February 25, 2016
·
2.574K
· sheerun

Uncover memory leaks using Web Developer Tools

Picture

By clicking on Profiles tab you get access to extremely useful functionality: Head Snapshots that profile memory distribution among JavaScript object and DOM nodes.

You can show summary of allocated object, use comparison view to get allocation difference between two moments in time, discover detached DOM trees, browse object containment tree (including closures) or finding accumulation points.

For each profiled object you can also see it's retaining tree, that is what's preventing garbage collection from deallocating the object.

Read the documentation and explore :)

1 Response
Add your response

Good one Adam. I found another excellent fr.ee source on this topic at codeschool @ http://bit.ly/ZdZV8f

over 1 year ago ·