Uncover memory leaks using Web Developer Tools
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 :)
Written by Adam Stankiewicz
Related protips
1 Response
Good one Adam. I found another excellent fr.ee source on this topic at codeschool @ http://bit.ly/ZdZV8f
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Profiling
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#