1 |
On Wed, Jun 14, 2017 at 8:10 AM, Grant Edwards |
2 |
<grant.b.edwards@×××××.com> wrote: |
3 |
> Starting a few months back, I've noticed that on some of my machines, |
4 |
> Firefox has started to use rediculous amounts of CPU and memory. It |
5 |
> will burn 100% of a CPU for minutes at a time while apparently doing |
6 |
> nothing. Opening 2-3 tabs will use up 1-2 GB of RAM. Doing the same |
7 |
> thing thing in Chrome uses 0% CPU (once pages are rendered) and less |
8 |
> that 1/10 the RAM. |
9 |
> |
10 |
|
11 |
You should pay attention to which web pages you are visiting because |
12 |
this is almost always due to misbehaving JavaScript. You can use |
13 |
`htop` to display custom thread names and Firefox will name the |
14 |
threads so that you can tell which ones are running the JavaScript |
15 |
engine. |
16 |
|
17 |
I'm using 500MB or so with a few pages open. 1-2GB seems normal. Be |
18 |
sure that the resource usage statistics mean what you think they mean. |
19 |
|
20 |
I did recently have an issue where a Firefox instance on Windows that |
21 |
had been running for a month or so started to become unresponsive, but |
22 |
restarting it fixed it. |
23 |
|
24 |
> I've got the same version of Firefox with the same set of extensions |
25 |
> on other machines that don't seem to have issues. |
26 |
> |
27 |
> Is there any useful troubleshooting one can do (e.g. uninstalling |
28 |
> extensions one at a time)? Or is it finally time to give up on |
29 |
> Firefox? |
30 |
> |
31 |
|
32 |
You can "refresh firefox" |
33 |
(https://support.mozilla.org/en-US/kb/refresh-firefox-reset-add-ons-and-settings) |
34 |
which removes your profile, its addons, and all associated settings. |
35 |
This is faster than reinstalling it and from what I can tell |
36 |
accomplishes the same thing. |
37 |
|
38 |
For the longest time Firefox was far better than Chromium at resource |
39 |
usage simply due to how Chromium is structured. Since that can't |
40 |
really change I am wary to say Firefox is worse in that regard. If |
41 |
anything has happened it seems like there is a new bug or a regression |
42 |
that you could report. |
43 |
|
44 |
R0b0t1. |