也曾经用过Drip这个小工具,可以自动刷新页面,找到有内存泄漏的页面,并且可以看出DOM 中有问题的对象:
How to fix the leaks:
http://www.outofhanwell.com/ieleak/index.php?title=Fixing_Leaks
最近发现GPDE小组(Global Product Development - Europe team)去年已经发布了Beta版本的JavaScript Memory Leak Detector,作为IE7的一个插件帮助开发来找到Leaks:
http://blogs.msdn.com/gpde/pages/javascript-memory-leak-detector.aspx
Here is the brief intro of this tool:
JavaScript Memory Leak Detector (download) is a debugging tool to detect memory leaks in JavaScript code. It can be installed as an Internet Explorer band and it is expressly designed to find memory leaks in JavaScript code that runs in Internet Explorer. Cool, hmm...
一般情况下,如果用户习惯不是反复操作同一张页面,那么少许的内存泄漏(根据典型用户的机器配置来综合考虑)也可以暂时忽略。
No comments:
Post a Comment