X
Tap here to go to the mobile version of the site.

Support Forum

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

Posted

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?

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0

More Information

cor-el
  • Top 10 Contributor
  • Moderator
17567 solutions 158896 answers

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

Maybe try to ask this at the Stack Overflow forum site. *http://stackoverflow.com/questions/