>> On Sun 09 Feb 2025 at 23:06:47 (-0600), David Wright wrote:
> On Sun 09 Feb 2025 at 21:18:31 (-0600), William Torrez Corea wrote:
> > Firefox is using much memory and using swap memory.
> > I have 8GB memory DDR3L 1600MHz
> > 
> > Memory: 93% 7.2GiB
> > Swap: 31% 2.7GiB

  I minimize the swap leakage by doing this hourly, or Firefox grows until
  it becomes unresponsive:

    swapoff -a && swapon -a

  When this fails (I'll see a syslog message), time to restart.

> Kill it and restart it occasionally.

  I do that every 3-4 weeks to clean the SQLite DB files under my profile:

  for file in *.sqlite; do
      echo 'vacuum;' | sqlite3 $file
  done

> Avoid stepping through the open tabs with Ctrl-PageUp/Down, as that
> consumes more memory with each tab.

  Actually, I step through the tabs after restarting Firefox.  That doesn't
  cause me any problems until I've been running for 20-25 days, as long
  as I force everything off swap periodically.

-- 
Karl Vogel                      I don't speak for anyone but myself

May someone replace your printer's standard ink with a foul, vengeful tar
made from discarded Waffle House cooking oil.   --James Mickens

Reply via email to