This is a small tool from the Microsoft gpvdf team.
Official Website: http://blogs.msdn.com/gpde/pages/javascript-memory-leak-detector.aspx
After the installation, we can find it in the browser bar of IE browser.
Jld is powerful in simulating GC and actual collection of IE6 and IE7. In this way, we can make a comparison.
Generally, we can only reflect the ideal situation of IE6 and IE7. We need to select the following actual leaks to reflect the actual situation of the current browser.
After refreshing the browser, we can see the result of the previous page. Green indicates no memory leakage, red indicates Memory leakage, blue indicates the page currently loaded, and black, of course, indicates the webpage being loaded.
When we expand a problematic page,
We can see a problematic branch leaks. The problematic nodes are listed here, And the problematic scripts are also listed.
This is very convenient for us to identify the cause of the leakage. However, to use script debugging, you must enable the script debugging function of IE.
In the advanced ie options, we can remove the two hooks.