Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Learn More

how to unload inactive tabs in firefox?

  • 2 përgjigje
  • 0 e kanë hasur këtë problem
  • 15 parje
  • Përgjigjja më e re nga zeroknight

more options

i'm currently writing my own firefox user.js configuration and now i'm at the topic "unloading inactive tabs" like microsoft edge does.

so what are the preferences for this kind of topic?

i want inactive tabs which have not been used for more than 5 minutes to be unloaded.

chatgpt gave me this "browser.tabs.unloadAfterDelay" preference but this one doesn't even exist in the about:config preferenes, would it still work if it doesn't even exist?

i'm currently writing my own firefox user.js configuration and now i'm at the topic "unloading inactive tabs" like microsoft edge does. so what are the preferences for this kind of topic? i want inactive tabs which have not been used for more than 5 minutes to be unloaded. chatgpt gave me this "browser.tabs.unloadAfterDelay" preference but this one doesn't even exist in the about:config preferenes, would it still work if it doesn't even exist?

Krejt Përgjigjet (2)

more options

You could look at the following preference in about:config. browser.tabs.min_inactive_duration_before_unload

https://support.mozilla.org/en-US/kb/about-config-editor-firefox

more options

Try the following settings:

browser.tabs.unloadOnLowMemory = true
browser.tabs.min_inactive_duration_before_unload = 300000   (5 minutes in milliseconds)
browser.low_commit_space_threshold_mb = 1000000   (1TB arbitrarily large amount of memory)
browser.low_commit_space_threshold_percent = 100  (Linux-only)


The last two "low commit space" values ensures it always detects a low memory state so it immediately triggers tab unloading after the minimum inactive duration has elapsed. This may have a performance hit though, it causes stuttering for me on Linux if it can't get out of the low memory state. It may work better on Windows.