This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox doesn't release memory allocated by Javascript even when the tab which invoked the allocation is deleted.

  • 1 cavab
  • 1 has this problem
  • 6 views
  • Last reply by cor-el

more options

I am using JavaScript to allocate a large number of objects using a large amount of memory. I can't figure out how to release the memory. Even when the tab invoking the JavaScript is closed the memory remains unreleased.

Before invocation the about:memory report for Web Content shows 227.3MB explicit of which 32.4MB are window-objects.

While active the about:memory report for Web Content shows 2.8GB explicit of which 2.7GB are window-objects.

After tab closing the about:memory report for Web Content shows 2.8GB explicit of which 2.7GB are window-objects.

I am using JavaScript to allocate a large number of objects using a large amount of memory. I can't figure out how to release the memory. Even when the tab invoking the JavaScript is closed the memory remains unreleased. Before invocation the about:memory report for Web Content shows 227.3MB explicit of which 32.4MB are window-objects. While active the about:memory report for Web Content shows 2.8GB explicit of which 2.7GB are window-objects. After tab closing the about:memory report for Web Content shows 2.8GB explicit of which 2.7GB are window-objects.

All Replies (1)

more options

You can ask advice at the Stack Overflow forum site for questions about web development.

Note that the System Details List shows that you have multiple Flash plugins.

  1. Shockwave Flash 21.0 r0
  2. Shockwave Flash 22.0 r0

You can find the installation path of all plugins on the about:plugins page.

You can check the Flash player installation folder for multiple Flash player plugins and remove older version(s) of the plugin (NPSWF32) and possibly (re)install the latest Flash player.

  • (32 bit Windows) C:\Windows\System32\Macromed\Flash\
  • (64 bit Windows) C:\Windows\SysWOW64\Macromed\Flash\