简体   繁体   English

使用firebug在JavaScript中查找内存泄漏?

[英]Finding memory leaks in JavaScript using firebug?

是否有任何Firefox附加组件可用于查找部分JavaScript导致内存泄漏?

I've got nothing for firefox, but the webkit inspector in Chrome has a profiler built in that is great for that kind of thing. 我没有为firefox做任何事情,但Chrome中的webkit检查器内置了一个探测器,非常适合这种事情。

As an added bonus it also shows you all browser events such as repaints, so you can engineer your code to have the least impact on the browser. 作为额外的奖励,它还会向您显示所有浏览器事件,例如重新绘制,因此您可以设计代码以对浏览器产生最小的影响。

Use Drip.exe / IEleak , I used it a lot to search for memory leaks! 使用Drip.exe / IEleak ,我用它来搜索内存泄漏!

Other hits: 其他点击:

The best memory profiler I've found is for IE (supports even IE6 ;-). 我发现最好的内存分析器是IE(甚至支持IE6 ;-)。 Give it a go - you will be surprised how good it is: 试一试 - 你会惊讶它有多好:

http://ajax.dynatrace.com/ajax/en/ http://ajax.dynatrace.com/ajax/en/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM