Firefox content script memory consumption -


i developing 1 extension firefox using addon-sdk. extension opens 1 tab , load 1 web page updated each n minutes. web page processed using 1 content script. problem memory grows each time content script gets executed. know why? there way call garbage collector in order maintain memory consuption stable?

edit: web page contains bank account details , content scripts new movements on in. framed page , 1 of frames (which contains movements list) reloaded see if change occured. use jquery proccess list. when new movements appear, sent extension using port , extension saves them in remote web server using response.

trying check instructions mozilla:

https://developer.mozilla.org/en/xul_school/javascript_object_management https://developer.mozilla.org/en/zombie_compartments#proactive_checking_of_add-ons

depends on using on add-on... if you're using oberserver example, need unregister observer won't leak... can give more descriptions addon? code or does... maybe you're not declaring variabled , you're using globals time, try unset variable after use it.

are using jquery?


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -