搜尋 Mozilla 技術支援網站

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

了解更多

Is there an option for increasing the maximum JS memory for a tab?

  • 1 回覆
  • 1 有這個問題
  • 34 次檢視
  • 最近回覆由 cor-el

more options

I was wondering if there way a way to override Firefox's default JS memory limit per tab? Right now, upon reaching about 4-5GB of memory usage, my JS console window reports an our of memory error and dumps my code. I appreciate that this is pretty normal behavior, as 4GB of memory is fairly outlandish for a website. However, for the use case of VR, particularly in physics engine development, it can feel a bit restrictive and even silly when I have 32GB sitting idle - and I could readily double that to 64. However, I know Firefox has a rather extensive about:config section - and I was wondering if anyone knew if one of these variables allowed us to override the internal limits of the browsers memory limitations?

I was wondering if there way a way to override Firefox's default JS memory limit per tab? Right now, upon reaching about 4-5GB of memory usage, my JS console window reports an our of memory error and dumps my code. I appreciate that this is pretty normal behavior, as 4GB of memory is fairly outlandish for a website. However, for the use case of VR, particularly in physics engine development, it can feel a bit restrictive and even silly when I have 32GB sitting idle - and I could readily double that to 64. However, I know Firefox has a rather extensive about:config section - and I was wondering if anyone knew if one of these variables allowed us to override the internal limits of the browsers memory limitations?

所有回覆 (1)

more options

Maybe try to ask this at the Stack Overflow forum site.