I\'ve been trying to track this one for literally a month now without any success. I have this piece of code on an car advertising website which basically allows thumbnails
A way to track memory leaks in Firefox is with the Leak Monitor Addon. It shows memory leaks of javascript (including extension-scripts).
Please remind that the plugin will sometimes show leaked objects that will get cleaned up later by the garbage collection. If that is the case the plugin will launch a new window showing you the new status.