Closed
Bug 1408229
Opened 7 years ago
Closed 7 years ago
High RAM Usage(or memory leak) on latest Firefox Beta/Nightly
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: kostas-fr3, Unassigned)
Details
(Whiteboard: [MemShrink:P3])
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0 Build ID: 20171009192146 Steps to reproduce: Loaded 5 tabs and waited for ~30 minutes. -One of the sites uses Disqus so many comments get loaded, but it wasn't an issue back in stable Firefox 54/55 64-bit: https://i.imgur.com/anwC95e.png (1014,5mb) -When I closed all the tabs but one, the memory usage was still high(considering I had 1 tab loaded): https://i.imgur.com/P1ogTZT.png (575mb) -When I loaded the tab I didn't close in the previous image: https://i.imgur.com/bpZ4wja.png (294mb) Actual results: Memory leak/High RAM usage: RAM usage. This also happens in latest Firefox 58 Nightly. Expected results: Less memory usage and release of unused RAM after closing all the tabs but one.
Reporter | ||
Updated•7 years ago
|
Severity: normal → major
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64
Reporter | ||
Comment 1•7 years ago
|
||
I forgot to mention that the only add-on I use is uBlock Origin and if I leave Firefox opened for an hour or so, the memory can reach 1,6GB usage.
Updated•7 years ago
|
Component: Untriaged → General
Product: Firefox → Core
Comment 2•7 years ago
|
||
Could you go to about:memory. Check "anonymize" if you prefer, and then click "Measure and save"? This will help us dig into where the memory is being allocated.
Flags: needinfo?(kostas-fr3)
Whiteboard: [MemShrink]
Reporter | ||
Comment 3•7 years ago
|
||
(In reply to Selena Deckelmann :selenamarie :selena use ni? pronoun: she from comment #2) > Could you go to about:memory. Check "anonymize" if you prefer, and then > click "Measure and save"? > > This will help us dig into where the memory is being allocated. here you go https://send.firefox.com/download/3c3f17f136/#vmPrYBkqCDOQC5QqwssgZA It must be noted that since my initial bug report, I have installed "Tampermonkey" and "Enhancer for YouTube". Also I used Facebook's "messenger.com" and the RAM usage is @ 2,7GB. It's all in the file.
Flags: needinfo?(kostas-fr3)
Reporter | ||
Comment 4•7 years ago
|
||
(In reply to Selena Deckelmann :selenamarie :selena use ni? pronoun: she from comment #2) > Could you go to about:memory. Check "anonymize" if you prefer, and then > click "Measure and save"? > > This will help us dig into where the memory is being allocated. Hmmm the link expired, maybe try this link instead https://www.sendspace.com/file/krtaks
Reporter | ||
Comment 5•7 years ago
|
||
Another memory report https://www.sendspace.com/file/e70og3 1,9GB. 3 tabs pinned(haven't interacted with any of the 3 since I opened Firefox) and 6 tabs opened.
> When I closed all the tabs but one, the memory usage was still > high(considering I had 1 tab loaded): > https://i.imgur.com/P1ogTZT.png (575mb) I don't use Windows, I do wonder what *exactly* is being reported by the Task Manager. > Another memory report https://www.sendspace.com/file/e70og3 > 1,9GB. 3 tabs pinned(haven't interacted with any of the 3 since > I opened Firefox) and 6 tabs opened. From the attached memory report: - I see 6 processes: Main, WebExtensions, Content, Content, Content, Content. - The sum of each process' "explicit" is 1084.32 MB. - The number of opened tabs is 9 (you report 6). - The main process is 194 MB: seems legit to me. - You have OOP WebExtensions, and this process consumes ~92 MB. - There are 4 content processes: - 235 MB for 2 tabs consuming 100 MB, 15 MB - 236 MB for 2 tabs consuming 91 MB, 25 MB - 182 MB for 3 tabs consuming 55 Mb, 24 MB, 7 MB - 143 MB for 2 tabs + 1 detached consuming 37 MB, 3 MB, 2-3 MB. What was loaded in each of those tabs? On my side (FF58) I have 6 "https://" tabs opened, and they consume significant less than what you report (also using uBO). The largest one is a Youtube video which has been playing for a while now: 53 MB. The sum of all "resident-unique" of each process (main/webext/contents) is 237 + 150 + 303 + 279 + 272 + 243 = 1,484 MB The sum of all "gpu-committed" of each process (main/webext/contents) is 0 + 4 + 80 + 111 + 194 + 147 = 536 MB Is "gpu-committed" something that would be reported by the Task Manager? I use Linux and there is no entry for "gpu-committed", or anything I could relate and consuming memory.
Updated•7 years ago
|
Whiteboard: [MemShrink] → [MemShrink:P3]
Comment 7•7 years ago
|
||
Closing incomplete. MemShrink team will revisit when they can.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•