Closed
Bug 1192455
Opened 9 years ago
Closed 6 years ago
Lag after using all day
Categories
(Toolkit :: Performance Monitoring, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: mazda_boy, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0 Build ID: 20150806001005 Steps to reproduce: I've been using Firefox all day, opening and closing tabs, etc. Actual results: It's slowed down significantly, with lots of lag. I currently have 10 tabs open, and the TabData add-on shows a total of 341MB between those tabs being used. about:addons-memory currently shows 63MB being used. But Task Manager is currently showing Firefox using 1.1GB of RAM. Expected results: Firefox should only be using about 1/3 the RAM it is.
Comment 1•9 years ago
|
||
Moving to a more appropriate component
QA Whiteboard: [bugday-20150803]
Component: Untriaged → Performance Monitoring
Product: Firefox → Toolkit
Cc-ing njn, who knows more than the rest of us about these things.
Comment 3•9 years ago
|
||
When the memory usage high can you please obtains some memory reports and then attach them to this bug report? Instructions on how to do so are at https://developer.mozilla.org/en-US/docs/Mozilla/Performance/about:memory. Thank you.
Whiteboard: [MemShrink]
Comment 4•9 years ago
|
||
A couple of extra notes:
- I don't know how these add-ons work, but accurate memory reporting is harder than it first appears and so they could easily be under-measuring.
- Even if they're accurate, there's plenty of "core" memory usage outside of tabs and add-ons. So there's no real reason to expect tabs + add-ons to equal the total. For example, in my current session, about:memory says the following about the web content process:
> 635.41 MB (100.0%) -- explicit
> ├──361.56 MB (56.90%) ++ window-objects
> ├──118.38 MB (18.63%) ++ js-non-window
> ├───81.35 MB (12.80%) ── heap-unclassified
> ├───40.00 MB (06.29%) ++ heap-overhead
> ├───17.39 MB (02.74%) ++ layout
> └───16.73 MB (02.63%) ++ (15 tiny)
"window-objects" is tabs, and it's only slightly more than half. Everything else is "core" stuff. In a single-process Firefox (which you're probably running) there will be even more "core" stuff reported.
So the premise of this bug is flawed. But the fact that you said things have slowed down is a concern, and memory reports might be helpful in understanding the slowdown.
Here's my about:memory log as requested. Currently showing 640MB usage with 6 tabs open (two email, two static pages, and two bugzilla).
Comment 6•9 years ago
|
||
Thank you for the reports. I took a look and I don't see anything unusual in there. Here's the high-level overview:
> 433.53 MB (100.0%) -- explicit
> ├──132.11 MB (30.47%) ++ window-objects
> ├───82.38 MB (19.00%) ++ js-non-window
> ├───75.13 MB (17.33%) ++ heap-overhead
> ├───45.34 MB (10.46%) ── heap-unclassified
> ├───32.27 MB (07.44%) ++ images
> ├───23.67 MB (05.46%) ++ storage
> ├───15.39 MB (03.55%) ++ gfx
> ├───13.26 MB (03.06%) ++ (17 tiny)
> ├────8.42 MB (01.94%) ++ network
> └────5.55 MB (01.28%) ++ workers/workers(chrome)
None of those measurements are surprising. I don't see any immediate leads for further investigation, unfortunately.
Here's another memory report from when it's running much slower. Not sure if there's anything noticeably different in this one.
Comment 8•9 years ago
|
||
(In reply to mazda_boy from comment #7) > Created attachment 8656914 [details] > memory-report.json.gz > > Here's another memory report from when it's running much slower. Not sure if > there's anything noticeably different in this one. Two slightly odd things: > │ ├────8.89 MB (01.73%) -- top(none)/detached > │ │ ├──5.89 MB (01.15%) ++ window(chrome://browser/content/browser.xul) > │ │ └──3.00 MB (00.58%) -- (4 tiny) > │ │ ├──2.56 MB (00.50%) ++ window(https://www.google.co.uk/?client=firefox-a&rls=org.mozilla:en-UK:official&gws_rd=ssl) > │ │ ├──0.38 MB (00.07%) ++ window(chrome://global/content/commonDialog.xul) > │ │ ├──0.06 MB (00.01%) ++ window(https://plus.google.com/u/0/_/streamwidgets/recentposts?origin=https%3A%2F%2Fmail.google.com&hl=en-GB&jsh=m%3B%2F_%2Fscs%2Fabc-static%2F_%2Fjs%2Fk%3Dgapi.gapi.en.CuGQllkQH5E.O%2Fm%3D__features__%2Fam%3DAAQ%2Frt%3Dj%2Fd%3D1%2Frs%3DAItRSTOgiVjqnqWyQORRDsiFhK7_CfjvvA#rpctoken=272129570&_methods=noContent%2CcontentReady%2Cbutterbar%2Ckeystroke%2CresizeCanvas%2C_ready%2C_close%2C_open%2C_resizeMe%2C_renderstart&id=I1_1437116257270&parent=https%3A%2F%2Fmail.google.com&pfname=) > │ │ └──0.00 MB (00.00%) ── window([system])/dom/other [5] top(none)/detached windows are sometimes indicative of leaks, and often caused by add-ons. Can you copy + paste the contents of about:support to show which add-ons you have enabled? Also: > 894 (100.0%) -- js-main-runtime-compartments > ├──732 (81.88%) -- system > │ ├──677 (75.73%) -- (462 tiny) > │ │ ├────4 (00.45%) ── [System Principal], resource://gre/modules/commonjs/method/core.js (from: resource://gre/modules/commonjs/toolkit/loader.js:250) [4] > │ │ ├────4 (00.45%) ── [System Principal], resource://gre/modules/commonjs/sdk/base64.js (from: resource://gre/modules/commonjs/toolkit/loader.js:250) [4] > │ │ ├────4 (00.45%) ── [System Principal], resource://gre/modules/commonjs/sdk/console/plain-text.js (from: resource://gre/modules/commonjs/toolkit/loader.js:250) [4] > │ │ ├────4 (00.45%) ── [System Principal], resource://gre/modules/commonjs/sdk/content/mod.js (from: resource://gre/m That's a lot of system compartments, and it's surprising that you have 4 copies of many of them. Maybe these are JetPack add-on modules and you just have 4 or more add-ons running.
Here's the about:support info you asked for Application Basics ------------------ Name: Firefox Version: 40.0.3 Build ID: 20150826023504 Update Channel: release User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0 Multiprocess Windows: 0/1 (default: false) Crash Reports for the Last 3 Days --------------------------------- All Crash Reports Extensions ---------- Name: Adblock Plus Version: 2.6.10 Enabled: true ID: {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d} Name: Reddit Enhancement Suite Version: 4.5.4.1-signed Enabled: true ID: jid1-xUfzOsOFlzSOXg@jetpack Name: Web Developer Version: 1.2.5.1-signed Enabled: true ID: {c45c406e-ab73-11d8-be73-000a95be3b12} Name: about:addons-memory Version: 10.1-signed Enabled: false ID: about-addons-memory@tn123.org Name: Adobe Acrobat - Create PDF Version: 1.2 Enabled: false ID: web2pdfextension@web2pdf.adobedotcom Name: Adobe Contribute Toolbar Version: 6.1 Enabled: false ID: {01A8CA0A-4C96-465b-A49B-65C46FAD54F9} Name: Tab Memory Usage Version: 0.1.8 Enabled: false ID: jid1-fRvgLzKONCsPew@jetpack Graphics -------- Adapter Description: ATI Radeon 3000 Graphics Adapter Drivers: aticfx64 aticfx64 aticfx32 aticfx32 atiumd64 atidxx64 atiumdag atidxx32 atiumdva atiumd6a atitmm64 Adapter RAM: 512 Asynchronous Pan/Zoom: none ClearType Parameters: D [ Gamma: 2200 Pixel Structure: B ClearType Level: 0 Enhanced Contrast: 200 ] D [ Gamma: 2200 Pixel Structure: R ClearType Level: 100 Enhanced Contrast: 100 ] Device ID: 0x9616 DirectWrite Enabled: false (6.2.9200.17461) Driver Date: 4-29-2013 Driver Version: 8.970.100.1100 GPU #2 Active: false GPU Accelerated Windows: 0/1 Basic (OMTC) Subsys ID: 00000000 Supports Hardware H264 Decoding: false Vendor ID: 0x1002 WebGL Renderer: Google Inc. -- ANGLE (ATI Radeon 3000 Graphics Direct3D11 vs_4_0 ps_4_0) windowLayerManagerRemote: true AzureCanvasBackend: skia AzureContentBackend: cairo AzureFallbackCanvasBackend: cairo AzureSkiaAccelerated: 0 (#0) Error: Failed to allocate a surface due to invalid size Size(0,1) Important Modified Preferences ------------------------------ accessibility.typeaheadfind.flashBar: 0 browser.cache.disk.capacity: 358400 browser.cache.disk.filesystem_reported: 1 browser.cache.disk.parent_directory: E:\Temp\Firefox browser.cache.disk.smart_size.first_run: false browser.cache.disk.smart_size.use_old_max: false browser.cache.frecency_experiment: 3 browser.download.importedFromSqlite: true browser.download.manager.alertOnEXEOpen: true browser.download.useDownloadDir: false browser.places.smartBookmarksVersion: 7 browser.sessionstore.upgradeBackup.latestBuildID: 20150826023504 browser.startup.homepage: www.google.com browser.startup.homepage_override.buildID: 20150826023504 browser.startup.homepage_override.mstone: 40.0.3 dom.apps.reset-permissions: true dom.max_script_run_time: 0 dom.mozApps.used: true extensions.lastAppVersion: 40.0.3 gfx.direct2d.disabled: true gfx.direct3d.last_used_feature_level_idx: 0 layers.acceleration.disabled: true media.gmp-eme-adobe.lastUpdate: 1437769168 media.gmp-eme-adobe.version: 12 media.gmp-gmpopenh264.lastUpdate: 1432081611 media.gmp-gmpopenh264.version: 1.4 media.gmp-manager.buildID: 20150826023504 media.gmp-manager.lastCheck: 1441735907 network.auth.allow-subresource-auth: 2 network.cookie.prefsMigrated: true network.predictor.cleaned-up: true places.database.lastMaintenance: 1441635800 places.history.expiration.transient_current_max_pages: 104858 plugin.disable_full_page_plugin_for_types: application/pdf plugin.importedState: true plugin.state.flash: 1 plugin.state.npauthz: 0 plugin.state.nppdf: 0 plugin.state.nppicasa: 0 plugin.state.npspwrap: 0 plugin.state.npwlpg: 0 print.printer_Adobe_PDF.print_bgcolor: false print.printer_Adobe_PDF.print_bgimages: false print.printer_Adobe_PDF.print_colorspace: print.printer_Adobe_PDF.print_command: print.printer_Adobe_PDF.print_downloadfonts: false print.printer_Adobe_PDF.print_duplex: 1515870810 print.printer_Adobe_PDF.print_edge_bottom: 0 print.printer_Adobe_PDF.print_edge_left: 0 print.printer_Adobe_PDF.print_edge_right: 0 print.printer_Adobe_PDF.print_edge_top: 0 print.printer_Adobe_PDF.print_evenpages: true print.printer_Adobe_PDF.print_footercenter: print.printer_Adobe_PDF.print_footerleft: &PT print.printer_Adobe_PDF.print_footerright: &D print.printer_Adobe_PDF.print_headercenter: print.printer_Adobe_PDF.print_headerleft: &T print.printer_Adobe_PDF.print_headerright: &U print.printer_Adobe_PDF.print_in_color: true print.printer_Adobe_PDF.print_margin_bottom: 0.5 print.printer_Adobe_PDF.print_margin_left: 0.5 print.printer_Adobe_PDF.print_margin_right: 0.5 print.printer_Adobe_PDF.print_margin_top: 0.5 print.printer_Adobe_PDF.print_oddpages: true print.printer_Adobe_PDF.print_orientation: 0 print.printer_Adobe_PDF.print_page_delay: 50 print.printer_Adobe_PDF.print_paper_data: 1 print.printer_Adobe_PDF.print_paper_height: 11.00 print.printer_Adobe_PDF.print_paper_name: print.printer_Adobe_PDF.print_paper_size_type: 0 print.printer_Adobe_PDF.print_paper_size_unit: 0 print.printer_Adobe_PDF.print_paper_width: 8.50 print.printer_Adobe_PDF.print_plex_name: print.printer_Adobe_PDF.print_resolution: 1515870810 print.printer_Adobe_PDF.print_resolution_name: print.printer_Adobe_PDF.print_reversed: false print.printer_Adobe_PDF.print_scaling: 1.00 print.printer_Adobe_PDF.print_shrink_to_fit: true print.printer_Adobe_PDF.print_to_file: false print.printer_Adobe_PDF.print_unwriteable_margin_bottom: 0 print.printer_Adobe_PDF.print_unwriteable_margin_left: 0 print.printer_Adobe_PDF.print_unwriteable_margin_right: 0 print.printer_Adobe_PDF.print_unwriteable_margin_top: 0 print.printer_Fax.print_bgcolor: false print.printer_Fax.print_bgimages: false print.printer_Fax.print_colorspace: print.printer_Fax.print_command: print.printer_Fax.print_downloadfonts: false print.printer_Fax.print_duplex: 1515870810 print.printer_Fax.print_edge_bottom: 0 print.printer_Fax.print_edge_left: 0 print.printer_Fax.print_edge_right: 0 print.printer_Fax.print_edge_top: 0 print.printer_Fax.print_evenpages: true print.printer_Fax.print_footercenter: print.printer_Fax.print_footerleft: &PT print.printer_Fax.print_footerright: &D print.printer_Fax.print_headercenter: print.printer_Fax.print_headerleft: &T print.printer_Fax.print_headerright: &U print.printer_Fax.print_in_color: true print.printer_Fax.print_margin_bottom: 0.5 print.printer_Fax.print_margin_left: 0.5 print.printer_Fax.print_margin_right: 0.5 print.printer_Fax.print_margin_top: 0.5 print.printer_Fax.print_oddpages: true print.printer_Fax.print_orientation: 0 print.printer_Fax.print_page_delay: 50 print.printer_Fax.print_paper_data: 1 print.printer_Fax.print_paper_height: 11.00 print.printer_Fax.print_paper_name: print.printer_Fax.print_paper_size_type: 0 print.printer_Fax.print_paper_size_unit: 0 print.printer_Fax.print_paper_width: 8.50 print.printer_Fax.print_plex_name: print.printer_Fax.print_resolution: 1515870810 print.printer_Fax.print_resolution_name: print.printer_Fax.print_reversed: false print.printer_Fax.print_scaling: 1.00 print.printer_Fax.print_shrink_to_fit: true print.printer_Fax.print_to_file: false print.printer_Fax.print_unwriteable_margin_bottom: 0 print.printer_Fax.print_unwriteable_margin_left: 0 print.printer_Fax.print_unwriteable_margin_right: 0 print.printer_Fax.print_unwriteable_margin_top: 0 print.printer_HP_LaserJet_200_color_MFP_M276.print_bgcolor: false print.printer_HP_LaserJet_200_color_MFP_M276.print_bgimages: false print.printer_HP_LaserJet_200_color_MFP_M276.print_colorspace: print.printer_HP_LaserJet_200_color_MFP_M276.print_command: print.printer_HP_LaserJet_200_color_MFP_M276.print_downloadfonts: false print.printer_HP_LaserJet_200_color_MFP_M276.print_duplex: 1515870810 print.printer_HP_LaserJet_200_color_MFP_M276.print_edge_bottom: 0 print.printer_HP_LaserJet_200_color_MFP_M276.print_edge_left: 0 print.printer_HP_LaserJet_200_color_MFP_M276.print_edge_right: 0 print.printer_HP_LaserJet_200_color_MFP_M276.print_edge_top: 0 print.printer_HP_LaserJet_200_color_MFP_M276.print_evenpages: true print.printer_HP_LaserJet_200_color_MFP_M276.print_footercenter: print.printer_HP_LaserJet_200_color_MFP_M276.print_footerleft: &PT print.printer_HP_LaserJet_200_color_MFP_M276.print_footerright: &D print.printer_HP_LaserJet_200_color_MFP_M276.print_headercenter: print.printer_HP_LaserJet_200_color_MFP_M276.print_headerleft: &T print.printer_HP_LaserJet_200_color_MFP_M276.print_headerright: &U print.printer_HP_LaserJet_200_color_MFP_M276.print_in_color: true print.printer_HP_LaserJet_200_color_MFP_M276.print_margin_bottom: 0.5 print.printer_HP_LaserJet_200_color_MFP_M276.print_margin_left: 0.5 print.printer_HP_LaserJet_200_color_MFP_M276.print_margin_right: 0.5 print.printer_HP_LaserJet_200_color_MFP_M276.print_margin_top: 0.5 print.printer_HP_LaserJet_200_color_MFP_M276.print_oddpages: true print.printer_HP_LaserJet_200_color_MFP_M276.print_orientation: 0 print.printer_HP_LaserJet_200_color_MFP_M276.print_page_delay: 50 print.printer_HP_LaserJet_200_color_MFP_M276.print_paper_data: 1 print.printer_HP_LaserJet_200_color_MFP_M276.print_paper_height: 11.00 print.printer_HP_LaserJet_200_color_MFP_M276.print_paper_name: print.printer_HP_LaserJet_200_color_MFP_M276.print_paper_size_type: 0 print.printer_HP_LaserJet_200_color_MFP_M276.print_paper_size_unit: 0 print.printer_HP_LaserJet_200_color_MFP_M276.print_paper_width: 8.50 print.printer_HP_LaserJet_200_color_MFP_M276.print_plex_name: print.printer_HP_LaserJet_200_color_MFP_M276.print_resolution: 1515870810 print.printer_HP_LaserJet_200_color_MFP_M276.print_resolution_name: print.printer_HP_LaserJet_200_color_MFP_M276.print_reversed: false print.printer_HP_LaserJet_200_color_MFP_M276.print_scaling: 1.00 print.printer_HP_LaserJet_200_color_MFP_M276.print_shrink_to_fit: true print.printer_HP_LaserJet_200_color_MFP_M276.print_to_file: false print.printer_HP_LaserJet_200_color_MFP_M276.print_unwriteable_margin_bottom: 0 print.printer_HP_LaserJet_200_color_MFP_M276.print_unwriteable_margin_left: 0 print.printer_HP_LaserJet_200_color_MFP_M276.print_unwriteable_margin_right: 0 print.printer_HP_LaserJet_200_color_MFP_M276.print_unwriteable_margin_top: 0 privacy.cpd.cookies: false privacy.cpd.downloads: false privacy.cpd.formdata: false privacy.cpd.history: false privacy.cpd.offlineApps: true privacy.cpd.sessions: false privacy.sanitize.migrateFx3Prefs: true privacy.sanitize.timeSpan: 0 storage.vacuum.last.index: 1 storage.vacuum.last.places.sqlite: 1439669256 Important Locked Preferences ---------------------------- JavaScript ---------- Incremental GC: true Accessibility ------------- Activated: false Prevent Accessibility: 0 Library Versions ---------------- NSPR Expected minimum version: 4.10.8 Version in use: 4.10.8 NSS Expected minimum version: 3.19.2 Basic ECC Version in use: 3.19.2 Basic ECC NSSSMIME Expected minimum version: 3.19.2 Basic ECC Version in use: 3.19.2 Basic ECC NSSSSL Expected minimum version: 3.19.2 Basic ECC Version in use: 3.19.2 Basic ECC NSSUTIL Expected minimum version: 3.19.2 Version in use: 3.19.2 Experimental Features ---------------------
Comment 10•9 years ago
|
||
Thank you for the data. Three enabled add-ons isn't high. Typically if a user has memory problems and, say, 10 or more add-ons enabled then it's usually one or more of the add-ons at fault. It's still possible that one of them could be causing problems, though probably not AdBlock Plus because it's well tested. You could try selectively disabling them. I'd start with the Web Developer one to see if that helps. I know that's not a lot to go on. Sorry.
Comment 11•9 years ago
|
||
I'm going to remove the MemShrink tag because my investigation didn't yield anything useful. I'll leave the bug open for lag issues and I've changed the title accordingly. It might be useful to follow the steps in https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Reporting_a_Performance_Problem to try to work out the cause of the lag.
Summary: Memory usage more than sum of tabs + addons → Lag after using all day
Whiteboard: [MemShrink]
Updated•6 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•