meta data for this page
  •  

This is an old revision of the document!


Firefox

Disable Detachable Tabs in Mozilla Firefox

  • `about:config`
  • `browser.tabs.allowTabDetach`

limit memory usage

systemd

/usr/local/bin/firefox
systemd-run --user -G --scope --unit=firefox -p OOMPolicy=continue -p MemoryMax=2G -p MemorySwapMax=2G -p "CPUQuota=200%" /usr/bin/firefox

See MemoryMax

firejail

sudo apt install firejail
 
firejail --noprofile --rlimit-as=5g firefox
       --rlimit-as=number
              Set the maximum size of the process's virtual memory (address space) in bytes.  Use k(ilobyte), m(egabyte) or g(igabyte) for size suffix (base 1024).

Using_Firejail_by_default