搜尋 Mozilla 技術支援網站

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

了解更多

How to reduce Firefox memory consumption

  • 5 回覆
  • 2 有這個問題
  • 4 次檢視
  • 最近回覆由 shlomini

more options

Hello,

I am working at HP Software. We have developed a Firefox extension that allows automating user actions for creation of end to end test scripts and running them in a load test. Each script is run by a virtual user that runs a browser instance. It is pretty similar in concept to selenium only that it is oriented for performance and load testing as oppose to functional testing.

We have noticed that memory consumption of recent Firefox versions (e.g. 30 to 32) is gradually growing. To be more precise Firefox memory footprint is 20 MB bigger than it was in version 22. This affect the amount of virtual users our customers can run a single computer.

I have read all the best practices listed in this article https://support.mozilla.org/en-US/kb/firefox-uses-too-much-memory-ram?esab=a&as=aaq

I am looking for a more drill down information and best practices of how to reduce the memory consumption. For example: how can we configure Firefox to run with less modules.

I would highly appreciate if we can hold a meeting to discuss our use case in details.

Best Regards, Shlomi Nissim HP Software

Hello, I am working at HP Software. We have developed a Firefox extension that allows automating user actions for creation of end to end test scripts and running them in a load test. Each script is run by a virtual user that runs a browser instance. It is pretty similar in concept to selenium only that it is oriented for performance and load testing as oppose to functional testing. We have noticed that memory consumption of recent Firefox versions (e.g. 30 to 32) is gradually growing. To be more precise Firefox memory footprint is 20 MB bigger than it was in version 22. This affect the amount of virtual users our customers can run a single computer. I have read all the best practices listed in this article https://support.mozilla.org/en-US/kb/firefox-uses-too-much-memory-ram?esab=a&as=aaq I am looking for a more drill down information and best practices of how to reduce the memory consumption. For example: how can we configure Firefox to run with less modules. I would highly appreciate if we can hold a meeting to discuss our use case in details. Best Regards, Shlomi Nissim HP Software

所有回覆 (5)

more options

You can inspect the Firefox memory usage on the about:memory page to see if you can find out what causes the difference.

more options

Thanks for the prompt reply. about:memory does not tell why the memory has grown between one Firefox version to another. It is also not detailed enough to hint on native modules that consume this memory.

more options

I don't know if this can help.

Go to the Mozilla Add-ons Web Page {web link} (There’s a lot of good stuff here) and search for memory.

more options

Note that there is a Verbose check-box in the current Firefox version at the top next to "Show Memory Reports" to get more details.

more options

Thanks for the help guys. We will dive more deeply into these addons and see if we reduce the footprint somehow. it will take sometime... I will update as soon as we have progress