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!

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 reply
  • 1 has this problem
  • 34 views
  • Last reply by 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?

All Replies (1)

more options

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