Search Support

Beware of phishing attacks: Mozilla will never ask you to call a number or visit a non-Mozilla website. Please ignore such requests.

Learn More

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

  • 1 reply
  • 1 has this problem
  • 5 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?

All Replies (1)

more options

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