How to fix Zen Browser using shit ton of RAM

2026 年 4 月 21 日 約 1 分鐘閱讀 214 次閱讀 0 人喜歡
本文只有英文版本。

Small Intro

Zen used to have its own tab unloader, but they removed it in favor of Firefox's native tab unloader, which is pretty bad. This causes Zen to basically not unload tabs at all until the RAM explodes to 10GB and your PC runs out of RAM and freezes, then the browser crashes.

The Configs

Change these things in about:config to fix tab unloading and get your precious RAM back.

  • browser.tabs.unloadOnLowMemory: Make sure this is true, for some reason it's turned off on Linux by default...
  • browser.low_commit_space_threshold_percent: I recommend changing to 100 so that the tab unloader is always active regardless of how much RAM is free.
  • browser.tabs.min_inactive_duration_before_unload: How much time in ms a tab must remain inactive before it's unloaded. I just use the default 600000, which is 10 minutes.
  • browser.tabs.fadeOutUnloadedTabs: UI improvement to dim/fade out the tab's icon when they're unloaded.

Then you're done! The tab unloading mechanism is now more aggressive, it will always be active, and unload any tabs that stayed inactive for more than 10 minutes.

RSS

最後修改於 2026 年 4 月 21 日。本文採用 CC BY-NC-SA 4.0 授權,非商業轉載請註明出處及文章連結。

目錄
  1. Small Intro
  2. The Configs
↑↓ 選擇 · Enter 開啟 · Esc 關閉