How can I avoid causing memory leaks in Firefox?

Posted by mrdanimal on Stack Overflow See other posts from Stack Overflow or by mrdanimal
Published on 2010-05-20T17:12:22Z Indexed on 2010/05/20 17:30 UTC
Read the original article Hit count: 172

It seems that there is a lot of information on memory leaks in IE and how web developers can avoid them, but I can't find much on avoiding leaks in FF. I've found lots of random tips on how end users can tweak their preferences, or tips for extension developers, but little on what I can do as a web developer to make sure my pages don't leak. Am I missing something? It seems lazy to just blame it on the user and say "you've got too many extensions". Or are the major patterns the same as in IE -- circular references and all that?

Also, if anyone knows of any tools to troubleshoot leaks in FF, that would be great. I found this: https://addons.mozilla.org/en-US/firefox/addon/2490/ But it's apparently just for chrome and extension development.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about firefox