Closed Bug 1074595 Opened 12 years ago Closed 11 years ago

Firefox leaking its way up to 7GiB+ resident with 2.5GiB heap-unclassified

Categories

(Firefox :: Untriaged, defect)

33 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: from_bugzilla3, Unassigned)

Details

(Whiteboard: [MemShrink:P3])

Attachments

(2 files)

Attached file memory-report.json.gz —
My Firefox addon loadout has been leaking since at least Firefox 3.x and, given the rate at which it leaks, I can't afford to spend a week without certain addons to do a binary search for the leaking addon. Typically, I restart it when it reaches roughly 4GiB resident but, at the moment, it's reached 7GiB resident (I have 16GiB of RAM) and 2.5GiB of that is heap-unclassified. I'm attaching an anonymized about:memory report and I'll try to leave it running as long as possible without restarting to give people time to ask for anything else they want it gathered. I'm running the 33.0a2 (2014-08-04) build from the Ubuntu Aurora-channel PPA and, while I have no experience developing in compiled languages or debugging beyond "bt full" and "strace -p<PID>", I do have enough experience programming in VMed languages like Python to consider myself competent in following whatever instructions you may give.
Could you paste your add-on list (add-on table in about:support), please.
Whiteboard: [MemShrink]
> My Firefox addon loadout has been leaking since at least Firefox 3.x Sorry, I'm having trouble parsing this sentence. What does "loadout" mean?
Lots of ghost windows: > 18 ── ghost-windows This is very likely a big part of the problem, and it's very likely an add-on that's the cause :/
(In reply to Loic from comment #1) > Could you paste your add-on list (add-on table in about:support), please. Coming right up. (In reply to Nicholas Nethercote [:njn] from comment #2) > > My Firefox addon loadout has been leaking since at least Firefox 3.x > > Sorry, I'm having trouble parsing this sentence. What does "loadout" mean? I believe it's a military-originated term. Your loadout is the collection of supplies you've been issued. ("load" from the fact that you carry all your supplies) "My Firefox addon loadout" is "The set of addons I always make sure I have installed" (In reply to Nicholas Nethercote [:njn] from comment #3) > Lots of ghost windows: > > > 18 ── ghost-windows > > This is very likely a big part of the problem, and it's very likely an > add-on that's the cause :/ Related maybe... but not a significant cause unless they're somehow becoming heap-unclassified when they go away. At the moment, my memory usage is roughly unchanged and I've got four ghost windows... all porn URLs and consuming a total of 4.63MB.
Attached file about_support.json —
I'm attaching the JSON version. Here's the non-JSON version of what about:support shows. Application Basics ------------------ Name: Firefox Version: 33.0a2 User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0 Multiprocess Windows: 0/1 Extensions ---------- Name: about:addons-memory Version: 8 Enabled: true ID: about-addons-memory@tn123.org Name: Adblock Plus Version: 2.6.4 Enabled: true ID: {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d} Name: aFlattr Version: 1.2.4 Enabled: true ID: aflattr@sthpr.gr Name: Automatic Save Folder Version: 1.0.4 Enabled: true ID: asf@mangaheart.org Name: Beef Taco (Targeted Advertising Cookie Opt-Out) Version: 1.3.7 Enabled: true ID: john@velvetcache.org Name: BetterPrivacy Version: 1.68 Enabled: true ID: {d40f5e7b-d2cf-4856-b441-cc613eeffbe3} Name: BugzillaJS Version: 3.2.1 Enabled: true ID: jid0-NgMDcEu2B88AbzZ6ulHodW9sJzA@jetpack Name: Classic Theme Restorer Version: 1.2.5beta10 Enabled: true ID: ClassicThemeRestorer@ArisT2Noia4dev Name: Cookie Monster Version: 1.2.0 Enabled: true ID: {45d8ff86-d909-11db-9705-005056c00008} Name: Cookie Time Version: 4 Enabled: true ID: cookietime@darktrojan.net Name: Custom Standalone Image Backgrounds Version: 0.5 Enabled: true ID: customstandaloneimagebackgrounds@girish.sharma Name: Disable Ctrl-Q Shortcut Version: 20120821 Enabled: true ID: dcqs@moongiraffe.net Name: DOM Inspector Version: 2.0.14 Enabled: true ID: inspector@mozilla.org Name: DownloadHelper Version: 4.9.24 Enabled: true ID: {b9db16a4-6edc-47ec-a1f4-b86292ed211d} Name: DownThemAll! Version: 2.0.17 Enabled: true ID: {DDC359D1-844A-42a7-9AA1-88A850A938A8} Name: EZ Drag-n-Drop Version: 1.3 Enabled: true ID: ezdragndrop@erika Name: FindBar Tweak Version: 1.4.18 Enabled: true ID: fbt@quicksaver Name: Firefox OS 1.2 Simulator Version: 6.0pre9.20140401 Enabled: true ID: fxos_1_2_simulator@mozilla.org Name: Form History Control Version: 1.3.3.0 Enabled: true ID: formhistory@yahoo.com Name: Gecko Profiler Version: 1.13.7 Enabled: true ID: jid0-edalmuivkozlouyij0lpdx548bc@jetpack Name: GNotifier Version: 1.8.5 Enabled: true ID: jid1-OoNOA6XBjznvLQ@jetpack Name: Google Privacy Version: 0.2.3 Enabled: true ID: {ea61041c-1e22-4400-99a0-aea461e69d04} Name: Greasemonkey Version: 2.2 Enabled: true ID: {e4a8a97b-f2ed-450b-b12d-ee082ba24781} Name: HistoryBlock Version: 1.4.0.5 Enabled: true ID: historyblock@kain Name: HTTPS Finder Version: 0.91 Enabled: true ID: {6bdc61ae-7b80-44a3-9476-e1d121ec2238} Name: HTTPS-Everywhere Version: 4.0.1 Enabled: true ID: https-everywhere@eff.org Name: InlineDisposition Version: 1.0.2.4 Enabled: true ID: {123647d5-da43-4344-bfe2-fc093bdf8f5e} Name: InspectorWidget Version: 4.04.20121231 Enabled: true ID: {c671b520-abe9-11d8-8ebc-000c6e787bf7} Name: JSONView Version: 0.9 Enabled: true ID: jsonview@brh.numbera.com Name: NoScript Version: 2.6.8.41 Enabled: true ID: {73a6fe31-595d-460b-a920-fcc0f8843232} Name: Password Exporter Version: 1.2.1 Enabled: true ID: {B17C1C5A-04B1-11DB-9804-B622A1EF5492} Name: Password Reuse Visualizer Version: 0.13 Enabled: true ID: jid1-bOHVlh4oBvBc7A@jetpack Name: PDF Viewer Version: 1.0.277 Enabled: true ID: uriloader@pdf.js Name: Prevent Tab Overflow Version: 7.1 Enabled: true ID: noverflow@sdrocking.com Name: Privacy Badger Firefox Version: 0.2.2 Enabled: true ID: jid1-MnnxcxisBPnSXQ@jetpack Name: Private Tab Version: 0.1.7.3 Enabled: true ID: privateTab@infocatcher Name: Reddit Enhancement Suite Version: 4.1.2 Enabled: true ID: jid1-xUfzOsOFlzSOXg@jetpack Name: RefControl Version: 0.8.16 Enabled: true ID: {455D905A-D37C-4643-A9E2-F6FEFAA0424A} Name: Restartless Restart Version: 9 Enabled: true ID: restartless.restart@erikvold.com Name: ScrapBook Version: 1.5.10 Enabled: true ID: {53A03D43-5363-4669-8190-99061B2DEBA5} Name: Session Manager Version: 0.8.1.5 Enabled: true ID: {1280606b-2510-4fe0-97ef-9b5a22eafe30} Name: Site Identity Button Colors Version: 0.7 Enabled: true ID: site-identity-button-colors@accessfirefox.org Name: StumbleUpon Version: 4.18 Enabled: true ID: {AE93811A-5C9A-4d34-8462-F7B864FC4696} Name: Stylish Version: 1.4.3 Enabled: true ID: {46551EC9-40F0-4e47-8E18-8E5CF550CFB8} Name: Stylish Sync Version: 0.1.7 Enabled: true ID: {0e3fc079-afbb-4a00-87e5-9486062d0f9c} Name: Tab Counter Version: 1.9.9 Enabled: true ID: tabcounter@morac Name: Tab Wheel Scroll Version: 20140723 Enabled: true ID: tabscroll@mthamil Name: Test Pilot Version: 1.2.3 Enabled: true ID: testpilot@labs.mozilla.com Name: TiddlyFox extension for Firefox Version: 1.0alpha18 Enabled: true ID: tiddlyfox@tiddlywiki.org Name: Toggle animated GIFs Version: 1.2.1 Enabled: true ID: giftoggle@simonsoftware.se Name: User Agent Switcher Version: 0.7.3 Enabled: true ID: {e968fc70-8f95-4ab9-9e79-304de2a71ee1} Name: Bookmark Favicon Changer Version: 1.74 Enabled: false ID: bookmarkfaviconchanger@sonthakit Name: Fangs Version: 1.0.8 Enabled: false ID: {21D01944-2878-4eb3-A72A-83E8D1E6D4A6} Name: FlashVideoReplacer Version: 2.1.15 Enabled: false ID: flvideoreplacer@lovinglinux.megabyet.net Name: Flattr Version: 1.1.3 Enabled: false ID: firefoxaddon@flattr.com Name: Live HTTP headers Version: 0.17 Enabled: false ID: {8f8fe09b-0bd3-4470-bc1b-8cad42b8203a} Name: PasswordMaker Version: 1.7.8 Enabled: false ID: {5872365e-67d1-4afd-9480-fd293bebd20d} Name: RequestPolicy Version: 0.5.28 Enabled: false ID: requestpolicy@requestpolicy.com Name: RSS Icon In Awesombar Version: 1.4 Enabled: false ID: rssicon@jasnapaka.com Name: Ubuntu Firefox Modifications Version: 2.9 Enabled: false ID: ubufox@ubuntu.com Graphics -------- Adapter Description: NVIDIA Corporation -- GeForce GT 430/PCIe/SSE2 Device ID: GeForce GT 430/PCIe/SSE2 Driver Version: 4.4.0 NVIDIA 340.32 GPU Accelerated Windows: 0/1 Basic Vendor ID: NVIDIA Corporation WebGL Renderer: NVIDIA Corporation -- GeForce GT 430/PCIe/SSE2 windowLayerManagerRemote: false AzureCanvasBackend: cairo AzureContentBackend: cairo AzureFallbackCanvasBackend: none AzureSkiaAccelerated: 0 Important Modified Preferences ------------------------------ accessibility.typeaheadfind.flashBar: 0 browser.cache.disk.capacity: 358400 browser.cache.disk.smart_size_cached_value: 1048576 browser.cache.disk.smart_size.first_run: false browser.cache.frecency_experiment: 1 browser.fixup.domainwhitelist.router: true browser.link.open_newwindow: 1 browser.link.open_newwindow.override.external: 3 browser.link.open_newwindow.restriction: 0 browser.places.smartBookmarksVersion: 7 browser.search.context.loadInBackground: true browser.search.useDBForOrder: true browser.sessionstore.privacy_level: 2 browser.sessionstore.upgradeBackup.latestBuildID: 20140804085133 browser.startup.homepage: about:home browser.startup.homepage_override.buildID: 20140804085133 browser.startup.homepage_override.mstone: 33.0a2 browser.tabs.animate: false browser.urlbar.doubleClickSelectsAll: false browser.urlbar.trimURLs: false dom.disable_window_open_feature.close: true dom.disable_window_open_feature.minimizable: true dom.disable_window_open_feature.scrollbars: true dom.disable_window_open_feature.titlebar: true dom.disable_window_open_feature.toolbar: true dom.max_chrome_script_run_time: 40 dom.max_script_run_time: 40 dom.mozApps.used: true dom.w3c_touch_events.expose: false extensions.lastAppVersion: 33.0a2 font.default.x-western: sans-serif image.animation_mode: none keyword.URL: https://www.duckduckgo.com/?kl=ca-en&ki=1&kz=1&kn=0&kf=b&kb=e&kd=1&kg=g&kh=1&k0=1&kk=s&ke=-1&kr=1&kq=1&k1=-1&k4=1&q= media.autoplay.enabled: false media.gmp-gmpopenh264.lastUpdate: 1406875313 media.gmp-gmpopenh264.path: /home/ssokolow/.mozilla/firefox/3id6bfo5.default/gmp-gmpopenh264 media.gmp-gmpopenh264.version: 1.0 media.gmp-manager.lastCheck: 1411114900 network.cookie.cookieBehavior: 1 network.cookie.lifetimePolicy: 2 network.cookie.prefsMigrated: true network.http.pipelining: true network.http.pipelining.aggressive: true network.http.pipelining.max-optimistic-requests: 8 network.http.pipelining.maxrequests: 32 network.http.proxy.pipelining: true places.database.lastMaintenance: 1412024679 places.history.expiration.transient_current_max_pages: 104858 places.history.expiration.transient_optimal_database_size: 167772160 plugin.importedState: true plugin.state.gecko-mediaplayer: 0 plugin.state.gecko-mediaplayer-dvx: 0 plugin.state.gecko-mediaplayer-qt: 0 plugin.state.gecko-mediaplayer-rm: 0 plugin.state.gecko-mediaplayer-wmp: 0 plugin.state.libnpgoogletalk: 1 plugin.state.libnpgtpo3dautoplugin: 1 print.print_bgcolor: false print.print_bgimages: false print.print_colorspace: default print.print_downloadfonts: false print.print_duplex: 0 print.print_evenpages: true print.print_in_color: true print.print_margin_bottom: 0.5 print.print_margin_left: 0.5 print.print_margin_right: 0.5 print.print_margin_top: 0.5 print.print_oddpages: true print.print_orientation: 0 print.print_page_delay: 50 print.print_paper_data: 0 print.print_paper_height: 279.40 print.print_paper_name: na_letter print.print_paper_size_type: 1 print.print_paper_size_unit: 1 print.print_paper_width: 215.90 print.print_plex_name: default print.print_resolution: 301 print.print_resolution_name: default print.print_scaling: 1.00 print.print_shrink_to_fit: true print.print_to_file: false print.print_unwriteable_margin_bottom: 56 print.print_unwriteable_margin_left: 25 print.print_unwriteable_margin_right: 25 print.print_unwriteable_margin_top: 25 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.can_change_colorspace: false print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.can_change_downloadfonts: false print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.can_change_jobtitle: false print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.can_change_num_copies: true print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.can_change_orientation: true print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.can_change_paper_size: true print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.can_change_plex: false print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.can_change_printincolor: true print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.can_change_resolution: false print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.can_change_spoolercommand: false print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.colorspace.0.name: default print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.colorspace.count: 1 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.has_special_printerfeatures: true print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.orientation.0.name: portrait print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.orientation.1.name: landscape print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.orientation.count: 2 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.0.height_mm: 210 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.0.is_inch: false print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.0.name: A5 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.0.width_mm: 148 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.1.height_mm: 297 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.1.is_inch: false print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.1.name: A4 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.1.width_mm: 210 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.2.height_mm: 420 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.2.is_inch: false print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.2.name: A3 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.2.width_mm: 297 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.3.height_mm: 279 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.3.is_inch: true print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.3.name: Letter print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.3.width_mm: 215 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.4.height_mm: 355 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.4.is_inch: true print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.4.name: Legal print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.4.width_mm: 215 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.5.height_mm: 431 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.5.is_inch: true print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.5.name: Tabloid print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.5.width_mm: 279 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.6.height_mm: 254 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.6.is_inch: true print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.6.name: Executive print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.6.width_mm: 190 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.paper.count: 7 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.plex.0.name: default print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.plex.count: 1 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.resolution.0.name: default print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.resolution.count: 1 print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.supports_colorspace_change: false print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.supports_downloadfonts_change: false print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.supports_jobtitle_change: false print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.supports_orientation_change: true print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.supports_paper_size_change: true print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.supports_plex_change: false print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.supports_printincolor_change: true print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.supports_resolution_change: false print.tmp.printerfeatures.CUPS/HP-LaserJet-4M.supports_spoolercommand_change: false print.tmp.printerfeatures.CUPS/LaserJet-4M.can_change_colorspace: false print.tmp.printerfeatures.CUPS/LaserJet-4M.can_change_downloadfonts: false print.tmp.printerfeatures.CUPS/LaserJet-4M.can_change_jobtitle: false print.tmp.printerfeatures.CUPS/LaserJet-4M.can_change_num_copies: true print.tmp.printerfeatures.CUPS/LaserJet-4M.can_change_orientation: true print.tmp.printerfeatures.CUPS/LaserJet-4M.can_change_paper_size: true print.tmp.printerfeatures.CUPS/LaserJet-4M.can_change_plex: false print.tmp.printerfeatures.CUPS/LaserJet-4M.can_change_printincolor: true print.tmp.printerfeatures.CUPS/LaserJet-4M.can_change_resolution: false print.tmp.printerfeatures.CUPS/LaserJet-4M.can_change_spoolercommand: false print.tmp.printerfeatures.CUPS/LaserJet-4M.colorspace.0.name: default print.tmp.printerfeatures.CUPS/LaserJet-4M.colorspace.count: 1 print.tmp.printerfeatures.CUPS/LaserJet-4M.has_special_printerfeatures: true print.tmp.printerfeatures.CUPS/LaserJet-4M.orientation.0.name: portrait print.tmp.printerfeatures.CUPS/LaserJet-4M.orientation.1.name: landscape print.tmp.printerfeatures.CUPS/LaserJet-4M.orientation.count: 2 print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.0.height_mm: 210 print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.0.is_inch: false print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.0.name: A5 print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.0.width_mm: 148 print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.1.height_mm: 297 print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.1.is_inch: false print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.1.name: A4 print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.1.width_mm: 210 print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.2.height_mm: 420 print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.2.is_inch: false print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.2.name: A3 print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.2.width_mm: 297 print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.3.height_mm: 279 print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.3.is_inch: true print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.3.name: Letter print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.3.width_mm: 215 print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.4.height_mm: 355 print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.4.is_inch: true print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.4.name: Legal print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.4.width_mm: 215 print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.5.height_mm: 431 print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.5.is_inch: true print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.5.name: Tabloid print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.5.width_mm: 279 print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.6.height_mm: 254 print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.6.is_inch: true print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.6.name: Executive print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.6.width_mm: 190 print.tmp.printerfeatures.CUPS/LaserJet-4M.paper.count: 7 print.tmp.printerfeatures.CUPS/LaserJet-4M.plex.0.name: default print.tmp.printerfeatures.CUPS/LaserJet-4M.plex.count: 1 print.tmp.printerfeatures.CUPS/LaserJet-4M.resolution.0.name: default print.tmp.printerfeatures.CUPS/LaserJet-4M.resolution.count: 1 print.tmp.printerfeatures.CUPS/LaserJet-4M.supports_colorspace_change: false print.tmp.printerfeatures.CUPS/LaserJet-4M.supports_downloadfonts_change: false print.tmp.printerfeatures.CUPS/LaserJet-4M.supports_jobtitle_change: false print.tmp.printerfeatures.CUPS/LaserJet-4M.supports_orientation_change: true print.tmp.printerfeatures.CUPS/LaserJet-4M.supports_paper_size_change: true print.tmp.printerfeatures.CUPS/LaserJet-4M.supports_plex_change: false print.tmp.printerfeatures.CUPS/LaserJet-4M.supports_printincolor_change: true print.tmp.printerfeatures.CUPS/LaserJet-4M.supports_resolution_change: false print.tmp.printerfeatures.CUPS/LaserJet-4M.supports_spoolercommand_change: false print.tmp.printerfeatures.HP-LaserJet-4M.can_change_colorspace: false print.tmp.printerfeatures.HP-LaserJet-4M.can_change_downloadfonts: false print.tmp.printerfeatures.HP-LaserJet-4M.can_change_jobtitle: false print.tmp.printerfeatures.HP-LaserJet-4M.can_change_num_copies: true print.tmp.printerfeatures.HP-LaserJet-4M.can_change_orientation: true print.tmp.printerfeatures.HP-LaserJet-4M.can_change_paper_size: true print.tmp.printerfeatures.HP-LaserJet-4M.can_change_plex: false print.tmp.printerfeatures.HP-LaserJet-4M.can_change_printincolor: true print.tmp.printerfeatures.HP-LaserJet-4M.can_change_resolution: false print.tmp.printerfeatures.HP-LaserJet-4M.can_change_spoolercommand: false print.tmp.printerfeatures.HP-LaserJet-4M.colorspace.0.name: default print.tmp.printerfeatures.HP-LaserJet-4M.colorspace.count: 1 print.tmp.printerfeatures.HP-LaserJet-4M.has_special_printerfeatures: true print.tmp.printerfeatures.HP-LaserJet-4M.orientation.0.name: portrait print.tmp.printerfeatures.HP-LaserJet-4M.orientation.1.name: landscape print.tmp.printerfeatures.HP-LaserJet-4M.orientation.count: 2 print.tmp.printerfeatures.HP-LaserJet-4M.paper.0.height_mm: 210 print.tmp.printerfeatures.HP-LaserJet-4M.paper.0.is_inch: false print.tmp.printerfeatures.HP-LaserJet-4M.paper.0.name: A5 print.tmp.printerfeatures.HP-LaserJet-4M.paper.0.width_mm: 148 print.tmp.printerfeatures.HP-LaserJet-4M.paper.1.height_mm: 297 print.tmp.printerfeatures.HP-LaserJet-4M.paper.1.is_inch: false print.tmp.printerfeatures.HP-LaserJet-4M.paper.1.name: A4 print.tmp.printerfeatures.HP-LaserJet-4M.paper.1.width_mm: 210 print.tmp.printerfeatures.HP-LaserJet-4M.paper.2.height_mm: 420 print.tmp.printerfeatures.HP-LaserJet-4M.paper.2.is_inch: false print.tmp.printerfeatures.HP-LaserJet-4M.paper.2.name: A3 print.tmp.printerfeatures.HP-LaserJet-4M.paper.2.width_mm: 297 print.tmp.printerfeatures.HP-LaserJet-4M.paper.3.height_mm: 279 print.tmp.printerfeatures.HP-LaserJet-4M.paper.3.is_inch: true print.tmp.printerfeatures.HP-LaserJet-4M.paper.3.name: Letter print.tmp.printerfeatures.HP-LaserJet-4M.paper.3.width_mm: 215 print.tmp.printerfeatures.HP-LaserJet-4M.paper.4.height_mm: 355 print.tmp.printerfeatures.HP-LaserJet-4M.paper.4.is_inch: true print.tmp.printerfeatures.HP-LaserJet-4M.paper.4.name: Legal print.tmp.printerfeatures.HP-LaserJet-4M.paper.4.width_mm: 215 print.tmp.printerfeatures.HP-LaserJet-4M.paper.5.height_mm: 431 print.tmp.printerfeatures.HP-LaserJet-4M.paper.5.is_inch: true print.tmp.printerfeatures.HP-LaserJet-4M.paper.5.name: Tabloid print.tmp.printerfeatures.HP-LaserJet-4M.paper.5.width_mm: 279 print.tmp.printerfeatures.HP-LaserJet-4M.paper.6.height_mm: 254 print.tmp.printerfeatures.HP-LaserJet-4M.paper.6.is_inch: true print.tmp.printerfeatures.HP-LaserJet-4M.paper.6.name: Executive print.tmp.printerfeatures.HP-LaserJet-4M.paper.6.width_mm: 190 print.tmp.printerfeatures.HP-LaserJet-4M.paper.count: 7 print.tmp.printerfeatures.HP-LaserJet-4M.plex.0.name: default print.tmp.printerfeatures.HP-LaserJet-4M.plex.count: 1 print.tmp.printerfeatures.HP-LaserJet-4M.resolution.0.name: default print.tmp.printerfeatures.HP-LaserJet-4M.resolution.count: 1 print.tmp.printerfeatures.HP-LaserJet-4M.supports_colorspace_change: false print.tmp.printerfeatures.HP-LaserJet-4M.supports_downloadfonts_change: false print.tmp.printerfeatures.HP-LaserJet-4M.supports_jobtitle_change: false print.tmp.printerfeatures.HP-LaserJet-4M.supports_orientation_change: true print.tmp.printerfeatures.HP-LaserJet-4M.supports_paper_size_change: true print.tmp.printerfeatures.HP-LaserJet-4M.supports_plex_change: false print.tmp.printerfeatures.HP-LaserJet-4M.supports_printincolor_change: true print.tmp.printerfeatures.HP-LaserJet-4M.supports_resolution_change: false print.tmp.printerfeatures.HP-LaserJet-4M.supports_spoolercommand_change: false print.tmp.printerfeatures.LaserJet-4M.can_change_colorspace: false print.tmp.printerfeatures.LaserJet-4M.can_change_downloadfonts: false print.tmp.printerfeatures.LaserJet-4M.can_change_jobtitle: false print.tmp.printerfeatures.LaserJet-4M.can_change_num_copies: true print.tmp.printerfeatures.LaserJet-4M.can_change_orientation: true print.tmp.printerfeatures.LaserJet-4M.can_change_paper_size: true print.tmp.printerfeatures.LaserJet-4M.can_change_plex: false print.tmp.printerfeatures.LaserJet-4M.can_change_printincolor: true print.tmp.printerfeatures.LaserJet-4M.can_change_resolution: false print.tmp.printerfeatures.LaserJet-4M.can_change_spoolercommand: false print.tmp.printerfeatures.LaserJet-4M.colorspace.0.name: default print.tmp.printerfeatures.LaserJet-4M.colorspace.count: 1 print.tmp.printerfeatures.LaserJet-4M.has_special_printerfeatures: true print.tmp.printerfeatures.LaserJet-4M.orientation.0.name: portrait print.tmp.printerfeatures.LaserJet-4M.orientation.1.name: landscape print.tmp.printerfeatures.LaserJet-4M.orientation.count: 2 print.tmp.printerfeatures.LaserJet-4M.paper.0.height_mm: 210 print.tmp.printerfeatures.LaserJet-4M.paper.0.is_inch: false print.tmp.printerfeatures.LaserJet-4M.paper.0.name: A5 print.tmp.printerfeatures.LaserJet-4M.paper.0.width_mm: 148 print.tmp.printerfeatures.LaserJet-4M.paper.1.height_mm: 297 print.tmp.printerfeatures.LaserJet-4M.paper.1.is_inch: false print.tmp.printerfeatures.LaserJet-4M.paper.1.name: A4 print.tmp.printerfeatures.LaserJet-4M.paper.1.width_mm: 210 print.tmp.printerfeatures.LaserJet-4M.paper.2.height_mm: 420 print.tmp.printerfeatures.LaserJet-4M.paper.2.is_inch: false print.tmp.printerfeatures.LaserJet-4M.paper.2.name: A3 print.tmp.printerfeatures.LaserJet-4M.paper.2.width_mm: 297 print.tmp.printerfeatures.LaserJet-4M.paper.3.height_mm: 279 print.tmp.printerfeatures.LaserJet-4M.paper.3.is_inch: true print.tmp.printerfeatures.LaserJet-4M.paper.3.name: Letter print.tmp.printerfeatures.LaserJet-4M.paper.3.width_mm: 215 print.tmp.printerfeatures.LaserJet-4M.paper.4.height_mm: 355 print.tmp.printerfeatures.LaserJet-4M.paper.4.is_inch: true print.tmp.printerfeatures.LaserJet-4M.paper.4.name: Legal print.tmp.printerfeatures.LaserJet-4M.paper.4.width_mm: 215 print.tmp.printerfeatures.LaserJet-4M.paper.5.height_mm: 431 print.tmp.printerfeatures.LaserJet-4M.paper.5.is_inch: true print.tmp.printerfeatures.LaserJet-4M.paper.5.name: Tabloid print.tmp.printerfeatures.LaserJet-4M.paper.5.width_mm: 279 print.tmp.printerfeatures.LaserJet-4M.paper.6.height_mm: 254 print.tmp.printerfeatures.LaserJet-4M.paper.6.is_inch: true print.tmp.printerfeatures.LaserJet-4M.paper.6.name: Executive print.tmp.printerfeatures.LaserJet-4M.paper.6.width_mm: 190 print.tmp.printerfeatures.LaserJet-4M.paper.count: 7 print.tmp.printerfeatures.LaserJet-4M.plex.0.name: default print.tmp.printerfeatures.LaserJet-4M.plex.count: 1 print.tmp.printerfeatures.LaserJet-4M.resolution.0.name: default print.tmp.printerfeatures.LaserJet-4M.resolution.count: 1 print.tmp.printerfeatures.LaserJet-4M.supports_colorspace_change: false print.tmp.printerfeatures.LaserJet-4M.supports_downloadfonts_change: false print.tmp.printerfeatures.LaserJet-4M.supports_jobtitle_change: false print.tmp.printerfeatures.LaserJet-4M.supports_orientation_change: true print.tmp.printerfeatures.LaserJet-4M.supports_paper_size_change: true print.tmp.printerfeatures.LaserJet-4M.supports_plex_change: false print.tmp.printerfeatures.LaserJet-4M.supports_printincolor_change: true print.tmp.printerfeatures.LaserJet-4M.supports_resolution_change: false print.tmp.printerfeatures.LaserJet-4M.supports_spoolercommand_change: false print.tmp.printerfeatures.PostScript/default.can_change_colorspace: false print.tmp.printerfeatures.PostScript/default.can_change_downloadfonts: false print.tmp.printerfeatures.PostScript/default.can_change_jobtitle: false print.tmp.printerfeatures.PostScript/default.can_change_num_copies: true print.tmp.printerfeatures.PostScript/default.can_change_orientation: true print.tmp.printerfeatures.PostScript/default.can_change_paper_size: true print.tmp.printerfeatures.PostScript/default.can_change_plex: false print.tmp.printerfeatures.PostScript/default.can_change_printincolor: true print.tmp.printerfeatures.PostScript/default.can_change_resolution: false print.tmp.printerfeatures.PostScript/default.can_change_spoolercommand: true print.tmp.printerfeatures.PostScript/default.colorspace.0.name: default print.tmp.printerfeatures.PostScript/default.colorspace.count: 1 print.tmp.printerfeatures.PostScript/default.has_special_printerfeatures: true print.tmp.printerfeatures.PostScript/default.orientation.0.name: portrait print.tmp.printerfeatures.PostScript/default.orientation.1.name: landscape print.tmp.printerfeatures.PostScript/default.orientation.count: 2 print.tmp.printerfeatures.PostScript/default.paper.0.height_mm: 210 print.tmp.printerfeatures.PostScript/default.paper.0.is_inch: false print.tmp.printerfeatures.PostScript/default.paper.0.name: A5 print.tmp.printerfeatures.PostScript/default.paper.0.width_mm: 148 print.tmp.printerfeatures.PostScript/default.paper.1.height_mm: 297 print.tmp.printerfeatures.PostScript/default.paper.1.is_inch: false print.tmp.printerfeatures.PostScript/default.paper.1.name: A4 print.tmp.printerfeatures.PostScript/default.paper.1.width_mm: 210 print.tmp.printerfeatures.PostScript/default.paper.2.height_mm: 420 print.tmp.printerfeatures.PostScript/default.paper.2.is_inch: false print.tmp.printerfeatures.PostScript/default.paper.2.name: A3 print.tmp.printerfeatures.PostScript/default.paper.2.width_mm: 297 print.tmp.printerfeatures.PostScript/default.paper.3.height_mm: 279 print.tmp.printerfeatures.PostScript/default.paper.3.is_inch: true print.tmp.printerfeatures.PostScript/default.paper.3.name: Letter print.tmp.printerfeatures.PostScript/default.paper.3.width_mm: 215 print.tmp.printerfeatures.PostScript/default.paper.4.height_mm: 355 print.tmp.printerfeatures.PostScript/default.paper.4.is_inch: true print.tmp.printerfeatures.PostScript/default.paper.4.name: Legal print.tmp.printerfeatures.PostScript/default.paper.4.width_mm: 215 print.tmp.printerfeatures.PostScript/default.paper.5.height_mm: 431 print.tmp.printerfeatures.PostScript/default.paper.5.is_inch: true print.tmp.printerfeatures.PostScript/default.paper.5.name: Tabloid print.tmp.printerfeatures.PostScript/default.paper.5.width_mm: 279 print.tmp.printerfeatures.PostScript/default.paper.6.height_mm: 254 print.tmp.printerfeatures.PostScript/default.paper.6.is_inch: true print.tmp.printerfeatures.PostScript/default.paper.6.name: Executive print.tmp.printerfeatures.PostScript/default.paper.6.width_mm: 190 print.tmp.printerfeatures.PostScript/default.paper.count: 7 print.tmp.printerfeatures.PostScript/default.plex.0.name: default print.tmp.printerfeatures.PostScript/default.plex.count: 1 print.tmp.printerfeatures.PostScript/default.resolution.0.name: default print.tmp.printerfeatures.PostScript/default.resolution.count: 1 print.tmp.printerfeatures.PostScript/default.supports_colorspace_change: false print.tmp.printerfeatures.PostScript/default.supports_downloadfonts_change: false print.tmp.printerfeatures.PostScript/default.supports_jobtitle_change: false print.tmp.printerfeatures.PostScript/default.supports_orientation_change: true print.tmp.printerfeatures.PostScript/default.supports_paper_size_change: true print.tmp.printerfeatures.PostScript/default.supports_plex_change: false print.tmp.printerfeatures.PostScript/default.supports_printincolor_change: true print.tmp.printerfeatures.PostScript/default.supports_resolution_change: false print.tmp.printerfeatures.PostScript/default.supports_spoolercommand_change: true privacy.clearOnShutdown.cache: true privacy.clearOnShutdown.cookies: false privacy.clearOnShutdown.extensions-dta: true privacy.clearOnShutdown.formdata: false privacy.clearOnShutdown.history: false privacy.cpd.cookies: false privacy.cpd.downloads: false privacy.cpd.extensions-dta: true privacy.cpd.extensions-sessionmanager: false privacy.cpd.formdata: false privacy.cpd.history: false privacy.cpd.sessions: false privacy.donottrackheader.enabled: true privacy.popups.showBrowserMessage: false privacy.sanitize.migrateFx3Prefs: true privacy.sanitize.sanitizeOnShutdown: true privacy.sanitize.timeSpan: 0 security.crl.autoupdate.dayCnt.http://www.cacert.org: 1 security.crl.autoupdate.dayCnt.http://www.CAcert.org: 1 security.crl.autoupdate.enable.http://www.cacert.org: true security.crl.autoupdate.enable.http://www.CAcert.org: true security.crl.autoupdate.errCount.http://www.cacert.org: 0 security.crl.autoupdate.errCount.http://www.CAcert.org: 0 security.crl.autoupdate.errDetail.http://www.cacert.org: Error Importing CRL to local Database. Error Code:ffffe0b0 security.crl.autoupdate.errDetail.http://www.CAcert.org: Error Importing CRL to local Database. Error Code:ffffe0b0 security.crl.autoupdate.freqCnt.http://www.cacert.org: 1 security.crl.autoupdate.freqCnt.http://www.CAcert.org: 1 security.crl.autoupdate.nextInstant.http://www.cacert.org: 1373940310000000 security.crl.autoupdate.nextInstant.http://www.CAcert.org: 1373932849000000 security.crl.autoupdate.timingType.http://www.cacert.org: 1 security.crl.autoupdate.timingType.http://www.CAcert.org: 1 security.crl.autoupdate.url.http://www.cacert.org: http://crl.cacert.org/revoke.crl security.crl.autoupdate.url.http://www.CAcert.org: https://crl.cacert.org/class3-revoke.crl security.disable_button.openCertManager: false security.OCSP.disable_button.managecrl: false security.warn_viewing_mixed: false storage.vacuum.last.index: 1 storage.vacuum.last.places.sqlite: 1410166013 user.js Preferences ------------------- Your profile folder contains a user.js file, which includes preferences that were not created by Aurora. Important Locked Preferences ---------------------------- JavaScript ---------- Incremental GC: true Accessibility ------------- Activated: true Prevent Accessibility: 0 Library Versions ---------------- NSPR Expected minimum version: 4.10.7 Beta Version in use: 4.10.7 Beta NSS Expected minimum version: 3.17 Basic ECC Beta Version in use: 3.17 Basic ECC Beta NSSSMIME Expected minimum version: 3.17 Basic ECC Beta Version in use: 3.17 Basic ECC Beta NSSSSL Expected minimum version: 3.17 Basic ECC Beta Version in use: 3.17 Basic ECC Beta NSSUTIL Expected minimum version: 3.17 Beta Version in use: 3.17 Beta Experimental Features ---------------------
In case it helps, here's some clarification on the status of those addons relative to "test by disabling" binary searching: The following are ones I'm unwilling to live without for the several days I'd need to confirm the leak: - Adblock Plus - Automatic Save Folder - Classic Theme Restorer - Cookie Monster - DownThemAll! - Greasemonkey - HistoryBlock - HTTPS-Everywhere - InlineDisposition - NoScript - PDF Viewer - Prevent Tab Overflow - ScrapBook - Session Manager - Stylish - Tab Counter - Tab Wheel Scroll - TiddlyFox extension for Firefox These ones I COULD live without, but it'd be stressful: - Beef Taco - BetterPrivacy (Flash LSO expiry) - Cookie Time - Disable Ctrl-Q Shortcut - Form History Control - Google Privacy - RefControl These ones I COULD live without, but it'd be irritating: - Custom Standalone Image Backgrounds - EZ Drag-n-Drop - FindBar Tweak - GNotifier - Private Tab (Opening new windows is too slow, among other reasons) - Toggle animated GIFs The following are ones which I CAN live without for a week. I think I've ruled them out but can test again: - aFlattr - BugzillaJS - DOM Inspector - DownloadHelper - HTTPS Finder - Restartless Restart - Site Identity Button Colors - StumbleUpon - Stylish Sync - Test Pilot - User Agent Switcher The following are ones I'm not really using right now and just forgot to disable: - about:addons-memory - Firefox OS 1.2 Simulator - Gecko Profiler (Worthless. It can't seem to figure out why Firefox wavers around 40% CPU use) - InspectorWidget - JSONView - Password Exporter - Password Reuse Visualizer - Privacy Badger Firefox - Reddit Enhancement Suite The following are already disabled: - Bookmark Favicon Changer - Fangs - FlashVideoReplacer - Flattr - Live HTTP headers - PasswordMaker - RequestPolicy - RSS Icon In Awesombar - Ubuntu Firefox Modifications
This add-on list is HUGE, good luck to find the faulty add-on. ;) Try to minimize the list to a small group of essential add-ons, then make a test during a few days.
(In reply to Loic from comment #7) > This add-on list is HUGE, good luck to find the faulty add-on. ;) > Try to minimize the list to a small group of essential add-ons, then make a > test during a few days. Most of that wasn't there last time I tried, so I'm fairly confident it's in that "stuff I can't live without for a few days" section. :( My main concern right now is trying to figure out what I can do without having to compromise there. For example: 1. Is there anything I can do to harvest further useful diagnostic information from the running process before I restart Firefox? 2. Is there an instrumented Firefox build available which would be fast enough and stable enough for me to use it normally, then examine what it's figured out once the leak has built up? I'm a pretty skilled programmer in VM-based and interpreted languages, so I can at least follow instructions even if I've never done anything more low-level than implementing a partial GIF parser in Python from a written description of the file format. ...especially anything that I'd want to do now, before restarting Firefox and wasting any opportunities presented by a leak that's been allowed to grow for this unusually long a period of time.
about:memory is a good tool to measure and log memory use. To check the memory use on the fly, there is the add-on Memory Chaser (https://addons.mozilla.org/en-US/firefox/addon/memchaser/).
(In reply to Loic from comment #9) > about:memory is a good tool to measure and log memory use. > To check the memory use on the fly, there is the add-on Memory Chaser > (https://addons.mozilla.org/en-US/firefox/addon/memchaser/). I used to use MemChaser but, given that I already have a desktop widget displaying the resident size for the four heaviest processes on my system, all MemChaser seemed to be useful for was confirming that my UI jank was due to excessively long pauses for GC and CC. I do plan to use about:memory's "Load and diff..." functionality once I've restarted but, aside from that, I'm not sure how much it would help here. (Especially given that 2.5GiB of this 7GiB leak is heap-unclassified)
51 enabled extensions, including GreaseMonkey and Stylish? Oh boy. One thing that might be useful is a GC & CC log, which you can get via the buttons at the top of about:memory. There are "concise" and "verbose" logs... the latter are usually more useful, though they're also big, and if you have a session with many tabs they'll be too big to attach to Bugzilla even if zipped. DropBox or something like that might be feasible, if you have access to something like that.
(In reply to Nicholas Nethercote [:njn] from comment #11) > 51 enabled extensions, including GreaseMonkey and Stylish? Oh boy. > > One thing that might be useful is a GC & CC log, which you can get via the > buttons at the top of about:memory. There are "concise" and "verbose" > logs... the latter are usually more useful, though they're also big, and if > you have a session with many tabs they'll be too big to attach to Bugzilla > even if zipped. DropBox or something like that might be feasible, if you > have access to something like that. I should be able to get the extension count down to somewhere between 20 and 30 while retaining a configuration I consider comfortable enough to wait for the leak to build. As for the logs, I dumped them and they're 4.8GiB uncompressed, down to 491MiB with an experimental `gzip -6` run. I definitely have room for them in my Dropbox but I'll need some time to write some scripts to identify and redact any embarassing keywords and URLs first so it may take a while.
I wouldn't really bother with trying to cleanse the logs at this point. Any log that giant is not going to be amenable to analysis, and they are basically impossible to anonymize anyways. If there are particular webpages that are showing up as ghost windows, then those are the only sites you would need to worry about to try to get the leaks to show up. Rather than waiting for the full badness of the leaks, you could try checking periodically for ghost-windows in about:memory. Often you can have a few ghost windows (which are windows that are not being displayed anywhere, but are somehow still alive) without any serious symptoms.
Whiteboard: [MemShrink] → [MemShrink:P3]
(In reply to Andrew McCreight [:mccr8] from comment #13) > I wouldn't really bother with trying to cleanse the logs at this point. Any > log that giant is not going to be amenable to analysis, and they are > basically impossible to anonymize anyways. > > If there are particular webpages that are showing up as ghost windows, then > those are the only sites you would need to worry about to try to get the > leaks to show up. Rather than waiting for the full badness of the leaks, > you could try checking periodically for ghost-windows in about:memory. > Often you can have a few ghost windows (which are windows that are not being > displayed anywhere, but are somehow still alive) without any serious > symptoms. At least 90% of my ghost windows are porn with Tumblr image views being the most notable "not necessarily porn" case but the only connection they all share seems to be "they're a subset of tabs I closed recently". I've never seen them take up more roughly 50MiB and they do go away eventually. That's why I don't really see them as a big deal right now beyond "If I solve this while I'm at it, so much the better." I did notice a couple of interesting cases in about:memory. For example, I closed all but this bug over 8 hours ago but it took an explicit "Minimize memory usage" just now to clear out the lingering 26, each, of these kind of line in my about:memory readout: ├──2,779.45 MB (37.75%) -- window-objects │ ├──1,458.16 MB (19.80%) ++ (1004 tiny) │ ├────539.90 MB (07.33%) -- top(none) │ │ ├──526.51 MB (07.15%) -- detached │ │ │ ├──252.60 MB (03.43%) -- (454 tiny) │ │ │ │ ├────2.87 MB (00.04%) ++ window(https://bugzilla.mozilla.org/show_bug.cgi?id=1058542) ├────954.69 MB (12.97%) -- js-non-window │ ├──826.30 MB (11.22%) -- zones │ │ ├──727.34 MB (09.88%) -- zone(0x7f21ca852000) │ │ │ ├──330.16 MB (04.48%) -- (1167 tiny) │ │ │ │ ├───0.13 MB (00.00%) ++ compartment(https://bugzilla.mozilla.org/show_bug.cgi?id=1058542, NoScript::ScriptSurrogate@https://bugzilla.mozilla.org/show_bug.cgi?id=1058542 (from: chrome://noscript/content/ScriptSurrogate.js:289)) I also had 412 of these... ├──2,779.45 MB (37.75%) -- window-objects │ ├──1,458.16 MB (19.80%) ++ (1004 tiny) │ ├────539.90 MB (07.33%) -- top(none) │ │ ├──526.51 MB (07.15%) -- detached │ │ │ ├──252.60 MB (03.43%) -- (454 tiny) │ │ │ │ ├────0.29 MB (00.00%) ++ window(https://accounts.google.com/o/oauth2/postmessageRelay?parent=https%3A%2F%2Fwww.humblebundle.com#rpctoken=1005816103&forcesecure=1) ...and 672 of these: ├────954.69 MB (12.97%) -- js-non-window │ ├──826.30 MB (11.22%) -- zones │ │ ├──727.34 MB (09.88%) -- zone(0x7f21ca852000) │ │ │ ├──330.16 MB (04.48%) -- (1167 tiny) │ │ │ │ ├───0.13 MB (00.00%) ++ compartment(https://accounts.google.com/o/oauth2/postmessageRelay?parent=https%3A%2F%2Fwww.humblebundle.com#rpctoken=1005816103&forcesecure=1, NoScript::ScriptSurrogate@https://accounts.google.com/o/oauth2/postmessageRelay?parent=https%3A%2F%2Fwww.humblebundle.com#rpctoken=1005816103&forcesecure=1 (from: chrome://noscript/content/ScriptSurrogate.js:289)) ...but I forgot to try running the "Minimize memory usage" BEFORE temporarily closing the two Humble Bundle tabs I had open. (And "Minimize memory usage" only shaved off somewhere in the vicinity of 200MiB while leaving the 2.5GiB heap-unclassified number untouched) Since it's SOMETHING I could do to narrow down the source of at least ONE problem, is it feasible to do a very directed machine analysis of the 4.8GiB of GC and CC logs to check whether those postmessageRelay windows and compartments were being held open by the tabs if I know their top-level URLs? (ie. To determine whether it was the site leaking them or Firefox shirking its GC/CC duties)
Whiteboard: [MemShrink:P3] → [MemShrink]
Whoops. Sorry about that whiteboard change.
Whiteboard: [MemShrink] → [MemShrink:P3]
If it is just a handful of windows, it could just be some kind of temporary cache thing, which doesn't sound too terrible. We do have some scripts to analyze logs, but with logs that large it is just going to be too slow to produce anything useful.
~107 MiB of detached Window objects and JS zones for URLs still cached 9 hours after I'd closed them? It sounds a bit odd to be dismissing something like that for a browser that claims to care about memory usage. (Though, if you just mean "Let's first find the gigs of memory that have been leaking since at least the 3.x series", then that'd make sense.) ...and that's just the Bugzilla stuff that I KNOW wasn't being held open by a leak in unprivileged JS in a top-level window. As for the analysis scripts, what kind of performance characteristics DO they have?
(In reply to Stephan Sokolow from comment #17) > It sounds a bit odd to be dismissing something like that for a browser that > claims to care about memory usage. (Though, if you just mean "Let's first > find the gigs of memory that have been leaking since at least the 3.x > series", then that'd make sense.) Leaking 100MB for hours is a bad problem, but it sounds like that part of the leak is not spiraling out of control unboundedly. It is also likely caused by one or more of the addons, and thus whatever the issue is is hopefully not affecting many users. Ghost windows are difficult to fix even with a very simple series of steps to reproduce, which we do not have here. I'm sorry we don't have a better solution.
Well, I restarted Firefox with the list of active extensions reduced to the 18 I can't live without. Still leaking badly, so that's a lot of them ruled out. Explicit Allocations ---------- 5,383.72 MB (100.0%) -- explicit ├──2,876.23 MB (53.42%) ++ window-objects ├──1,065.11 MB (19.78%) ── heap-unclassified ├────754.87 MB (14.02%) ++ js-non-window ├────244.91 MB (04.55%) ++ heap-overhead ├────186.18 MB (03.46%) ++ images ├────181.64 MB (03.37%) ++ (21 tiny) └─────74.79 MB (01.39%) ++ add-ons Extensions (enabled only) ---------- Name: Adblock Plus Version: 2.6.4 Enabled: true ID: {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d} Name: Automatic Save Folder Version: 1.0.4 Enabled: true ID: asf@mangaheart.org Name: BetterPrivacy Version: 1.68 Enabled: true ID: {d40f5e7b-d2cf-4856-b441-cc613eeffbe3} Name: Classic Theme Restorer Version: 1.2.5beta13 Enabled: true ID: ClassicThemeRestorer@ArisT2Noia4dev Name: DownThemAll! Version: 2.0.17 Enabled: true ID: {DDC359D1-844A-42a7-9AA1-88A850A938A8} Name: Greasemonkey Version: 2.2 Enabled: true ID: {e4a8a97b-f2ed-450b-b12d-ee082ba24781} Name: HistoryBlock Version: 1.4.0.5 Enabled: true ID: historyblock@kain Name: HTTPS-Everywhere Version: 4.0.1 Enabled: true ID: https-everywhere@eff.org Name: InlineDisposition Version: 1.0.2.4 Enabled: true ID: {123647d5-da43-4344-bfe2-fc093bdf8f5e} Name: NoScript Version: 2.6.8.43 Enabled: true ID: {73a6fe31-595d-460b-a920-fcc0f8843232} Name: PDF Viewer Version: 1.0.277 Enabled: true ID: uriloader@pdf.js Name: Prevent Tab Overflow Version: 7.1 Enabled: true ID: noverflow@sdrocking.com Name: RefControl Version: 0.8.16 Enabled: true ID: {455D905A-D37C-4643-A9E2-F6FEFAA0424A} Name: ScrapBook Version: 1.5.11 Enabled: true ID: {53A03D43-5363-4669-8190-99061B2DEBA5} Name: Session Manager Version: 0.8.1.5 Enabled: true ID: {1280606b-2510-4fe0-97ef-9b5a22eafe30} Name: Stylish Version: 1.4.3 Enabled: true ID: {46551EC9-40F0-4e47-8E18-8E5CF550CFB8} Name: Tab Wheel Scroll Version: 20140723 Enabled: true ID: tabscroll@mthamil Name: TiddlyFox extension for Firefox Version: 1.0alpha18 Enabled: true ID: tiddlyfox@tiddlywiki.org
I think you can still continue to remove add-ons: HTTPS-Everywhere, InlineDisposition, RefControl, they are probably not faulty.
(In reply to Loic from comment #20) > I think you can still continue to remove add-ons: HTTPS-Everywhere, > InlineDisposition, RefControl, they are probably not faulty. By "Remove", I assume you mean "rule out as the source of the problem" rather than "disable"? That's good to know. For the next little while, I'll be focusing on removing clutter in the about:memory readout by clearing out the ~700 (~1000 less than a week ago) tabs that are consuming about 0.25MiB each by sitting under the effect of "Don't load tabs until selected". (I wound up using tab groups as a cross between bookmarking and saved sessions because the UIs for those alternatives are too high-friction by comparison and I'm not sure what APIs to use to write an extension to allow easily integrating my own bookmarking solution.) I can probably also replace BetterPrivacy with a whitelist-based "nuke Flash LSOs nightly" script to test that. (It'll be an inferior approximation, but the bare minimum I'm willing to accept) I may be able to temporarily replace DownThemAll! with FlashGot if it exposes cookies to the download manager properly. I can't get rid of InlineDisposition because certain sites use it on pages that need Save As to operate in "HTML (complete)" mode. (Though, if I can ever find the time to learn the APIs, I could write an extension that adds a context menu to just call a Python script to do the downloading.) It's been a while since I tried the bundled PDF.js so it's possible that PDF Viewer is no longer necessary. Prevent Tab Overflow can be replaced if I can convince the author of Classic Theme Restorer to offer a checkbox which makes a partial exception to ridiculously tiny min-width values so they get along properly with "only show close button on the active tab". Once I've cleared out my ~250MiB resident of "abuse tab groups as bookmarks/sessions" stuff and I'm down to maybe a dozen tabs that would be lost if I accidentally clicked "new session" after a crash, it should be safe to test without Session Manager. Beyond that, the only possibility that comes to mind would be upgrading from TiddlyWiki 2.x to TiddlyWiki 5.x once it reaches feature parity and using the Node.JS backend instead of the TiddlyFox extension as a way to save changes to disk.
Yes, just disable them. My guess is the leak comes from heavy add-ons like Stylish, GM. ABP et BP are probably not faulty too.
I can't live without those 18 extensions for long enough to determine whether the leak is present. Nothing extra will be disabled until I've done what I just laid out.
Just try to keep your testing in one day. As I said, I think you can disable 3 or 4 add-ons in a row to continue to see the leak.
It takes two to four days for me to feel confident that the leak is present and, as I said, I'm not willing to spend that much time without any of those extensions right now. Hence the plan I laid out for making some of them optional. (It's already hassle enough that I've got a text file containing dozens of URLs I'm going to have to paste back into Firefox and give a thumbs up to the next time I've got the StumbleUpon extension enabled.)
Marking this as needinfo to remove from the untriaged radar. Once the culprit is identified / steps to reproduce this are found, please clear the needinfo flag.
Flags: needinfo?(from_bugzilla2)
If you still see this problem and have narrowed the issue to one or two specific addons (or reproduced without any addons), please provide more more information
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(from_bugzilla2)
Resolution: --- → INCOMPLETE
My need to keep using my browser kept getting in the way of narrowing down the cause and a combination of two other bugs makes it unlikely that I'll ever figure it out now: 1. Firefox decided to insist on discarding all of my tab groups information and bundle roughly 1100 lazy-reloaded tabs into a single group, so I whipped up a quick Python script which exported them all into TiddlyWiki markup with each group as a heading and I now store my in-progress projects in a text file, navigated using Ctrl+F) Without hundreds un-loaded tabs, it'll be even more difficult to make the problem visible enough to diagnose. 2. Another bug (which I've reported) introduced in the GTK+ 3.x builds hangs my browser's input handling far too often for this bug to trigger.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: