Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

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

  • 1 பதிலளி
  • 1 இந்த பிரச்சனை உள்ளது
  • 34 views
  • Last reply by cor-el

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?

All Replies (1)

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