Earlier this year I revealed Firefox extensions that had known memory leaks. An extension has now been made that will help users keep track of which extensions are leaking memory. It will popup with a message if a memory leak is found in an extension so that you can notify the author or submit a bug report. It doesn’t cover every kind of memory leak but this is definitely a good start.
Hopefully this will soon be considered a developers tool and be taken into consideration before releasing extensions. The author of the extension has said:
A bunch of those bugs are present in Firefox 1.5 and easy for extension authors to work around (call removeEventListener to match addEventListener for functions added as event listeners).
Let’s cross our fingers and hope that Firefox 2 will also encourage extension authors to produce more memory efficient extensions!