Hacker News new | past | comments | ask | show | jobs | submit login

6 tabs, 1GB of RAM, ~20% CPU usage for me on Firefox. I have a few basic QoL plugins like LastPass, uBlock, and NoScript. It's absolutely ridiculous. I want to keep using FireFox, but it's forcing me to consider moving to another browser.



Vacuuming your profile might help:

    #!/bin/bash
    killall firefox
    for file in ~/.mozilla/firefox/*.default/*.sqlite; do
        echo sqlite3 "$file" VACUUM
        sqlite3 "$file" VACUUM
    done
I do it in my once-a-month cleanup script.


Looking at `find ~/.mozilla/firefox -name \.sqlite`, there are some more such databases for window.localStorage and the like. So this could be generalized to

  find ~/.mozilla/firefox -name \*.sqlite -print -exec sqlite3 {} VACUUM \;


For those on OS X, it looks like:

find $HOME/Library/Application Support/Firefox -name \*.sqlite -print -exec sqlite3 {} VACUUM \;


I remember the days when leaving Windows meant not having to futz with cleanup scripts.

What happened?


Firefox and SQLite have actually improved a lot since those days. And it's not like Firefox uses a different database system on different platforms, it's all exactly the same.


When was this? I recall having to use Cocktail with OS X (10.2-10.9) because the system maintenance scripts would never run if my laptop was off/asleep at midnight. In general, Unix users have had to use cron scripts almost since its origin.


254 Tabs, 3.3GB of RAM, ~2% CPU usage for me on Firefox 50.1.0. You've got something wrong (and I have too many tabs open)...


If there are only 6 tabs it should be easy to narrow down which is a problem?


Try Pale Moon.

Forked from Firefox 27 and super fast.

http://palemoon.org


Incorrect.

Pale Moon 27 is based on Firefox 38 for back-end and Firefox 24 (ish, with some 26-isms) for the front-end. That said, I'd still recommend it. :-)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: