4 ms·
Also, here's a few settings to limit memory growth for your about:config / prefs.js: // Enable automatic tab unloading (true by default on windows & mac os)
by eMPee584 1y ago
Also, here's a few settings to limit memory growth for your about:config / prefs.js:
// Enable automatic tab unloading (true by default on windows & mac os)
user_pref("browser.tabs.unloadOnLowMemory", true);
// tab unloading enabled when free memory drops below either
user_pref("browser.low_commit_space_threshold_mb", 8192);
user_pref("browser.low_commit_space_threshold_percent", 30);
// time in milliseconds (so 15min) to wait before kicking tabs out
user_pref("browser.tabs.min_inactive_duration_before_unload", 900000);
// visibility
user_pref("browser.tabs.fadeOutUnloadedTabs", true);
user_pref("browser.tabs.fadeOutExplicitlyUnloadedTabs", true);
And here's a one-liner (courtesy of deepseek-v3) to conveniently show current free memory ratio in percent to make an informed choice about what value to put in:
awk '/MemTotal:/{total=$2} /MemAvailable:/{available=$2} END{printf "%.1f%%\n", (available / total) * 100}' /proc/meminfo
- ksec 1y ago> (true by default on windows & mac os) Is that not the case on Linux?