搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 1 回覆
  • 1 有這個問題
  • 6 次檢視
  • 最近回覆由 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.

所有回覆 (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\