Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Memory leaks on Firefox addons

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.

like image 836
BrunoLM Avatar asked Sep 15 '10 22:09

BrunoLM


1 Answers

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.

like image 184
Annie Avatar answered Nov 14 '22 23:11

Annie