Closed
Bug 1496148
Opened 7 years ago
Closed 2 years ago
High memory use and low responsiveness after long uptime
Categories
(Firefox :: Extension Compatibility, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jirislaby, Unassigned)
Details
(Whiteboard: [MemShrink:P3])
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0
Steps to reproduce:
I started firefox on 21 Aug. Now, after month and a half of running, firefox consumes 12.8G of virtual memory and 3.9G of RSS. I don't know if that is normal, but to me it looks like too much. I am attaching a memory report. The number of tabs is approximately the same as when started.
Over that time, the responsiveness is decreasing too. I don't know if that is related to the memory pressure or not. Here is the perf profile: https://perfht.ml/2yeb83g
Running with a new profile or without add-ons for such a long time to test this is not much of option. So I hope the memory and perf measurements can pinpoint the problem.
Actual results:
For example writing into the address bar or to this text box does not show characters as I am typing, but later in batches.
Expected results:
Fluent behaviour.
Reporter | ||
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Hello Mike, can you please take a look into the profile? Thanks!
Flags: needinfo?(mconley)
Comment 3•7 years ago
|
||
Definitely the memory usage is related to the sluggish behaviour - looking at the profile, I see the parent struggling to cycle and garbage collect to try to free up space. That's taking cycles from the main threads.
I suspect there might be a leak here in AdBlock Plus (or in the APIs it's using)...
jiri, if you switch (temporarily) to using uBlock Origin, do you see the same behaviour?
Flags: needinfo?(mconley) → needinfo?(jirislaby)
Updated•7 years ago
|
Whiteboard: [MemShrink]
Reporter | ||
Comment 4•7 years ago
|
||
(In reply to Mike Conley (:mconley) (:⚙️) from comment #3)
> Definitely the memory usage is related to the sluggish behaviour - looking
> at the profile, I see the parent struggling to cycle and garbage collect to
> try to free up space. That's taking cycles from the main threads.
Which reminds me that "Minimize memory usage" did not lower the memory usage at all. That makes sense.
> I suspect there might be a leak here in AdBlock Plus (or in the APIs it's
> using)...
>
> jiri, if you switch (temporarily) to using uBlock Origin, do you see the
> same behaviour?
Switched to ublock, now give me ~ 2 weeks to reproduce :).
Reporter | ||
Comment 5•7 years ago
|
||
(In reply to jiri slaby from comment #4)
> Switched to ublock, now give me ~ 2 weeks to reproduce :).
I had to reboot yesterday and forgot to take a look on the memory consumption.
The feeling (responsiveness) was good though.
Reporter | ||
Comment 6•7 years ago
|
||
It looks promising with uBlock. It is running since 19 Oct, and the 5 firefox threads eat each 500-700MB of resident memory.
So what next? (I keep it running.)
Flags: needinfo?(jirislaby)
Comment 7•7 years ago
|
||
Hey evilpie, do you know if there's a tracking bug for ABP memory bugs?
Flags: needinfo?(evilpies)
Updated•7 years ago
|
Flags: needinfo?(evilpies) → needinfo?(bugzilla)
Updated•7 years ago
|
Whiteboard: [MemShrink] → [MemShrink:P3]
Updated•6 years ago
|
Component: Untriaged → Extension Compatibility
Updated•6 years ago
|
Flags: needinfo?(bugzilla)
Updated•3 years ago
|
Severity: normal → S3
Reporter | ||
Comment 10•2 years ago
|
||
Likely.
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Flags: needinfo?(jirislaby)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•