开发者

Memory leaks on Firefox addons

开发者 https://www.devze.com 2023-01-16 20:52 出处:网络
I have an开发者_开发技巧 addon, which is pretty big, and I need to understand some things... What causes memory leak on a Firefox addon?

I have an开发者_开发技巧 addon, which is pretty big, and I need to understand some things...

  • What causes memory leak on a Firefox addon?
  • How can I find what is causing the leak?
  • How can I fix the leak?

The addon adds some elements on the page, request parts of the page and update the DOM. The memory increases each time I reload the page, and the memory is not released even after closing the tab.


Here is a Firefox extension which can catch some types of memory leaks. There is more documentation on debugging leaks here, but it's a little hard to read.

0

精彩评论

暂无评论...
验证码 换一张
取 消