Closed Bug 1177037 Opened 9 years ago Closed 9 years ago

high heap-unclassified with Twitter

Categories

(Firefox :: Untriaged, defect)

40 Branch
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: Sarkie, Unassigned)

Details

(Whiteboard: [MemShrink])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0
Build ID: 20150621004005

Steps to reproduce:

Load twitter
Leave for a few days



Actual results:

plugin-container.exe is 1.2gb in memory


Expected results:

it releases the memory just because twitter is coded badly, firefox should release the memory? or report it?
{
  "application": {
    "name": "Firefox",
    "version": "40.0a2",
    "buildID": "20150621004005",
    "userAgent": "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0",
    "updateChannel": "aurora",
    "supportURL": "https://support.mozilla.org/1/firefox/40.0a2/WINNT/en-GB/",
    "numTotalWindows": 1,
    "numRemoteWindows": 1,
    "remoteAutoStart": true
  },
  "modifiedPreferences": {
    "accessibility.typeaheadfind.flashBar": 0,
    "browser.cache.disk.smart_size.first_run": false,
    "browser.cache.disk.smart_size.use_old_max": false,
    "browser.cache.disk.capacity": 358400,
    "browser.cache.disk.filesystem_reported": 1,
    "browser.cache.frecency_experiment": 2,
    "browser.download.importedFromSqlite": true,
    "browser.download.manager.alertOnEXEOpen": true,
    "browser.places.smartBookmarksVersion": 7,
    "browser.sessionstore.upgradeBackup.latestBuildID": "20150621004005",
    "browser.startup.homepage_override.mstone": "40.0a2",
    "browser.startup.homepage_override.buildID": "20150621004005",
    "browser.tabs.remote.autostart": true,
    "dom.apps.reset-permissions": true,
    "dom.mozApps.used": true,
    "extensions.lastAppVersion": "40.0a2",
    "font.internaluseonly.changed": true,
    "gfx.direct3d.last_used_feature_level_idx": 0,
    "media.gmp-eme-adobe.lastUpdate": 1434359811,
    "media.gmp-gmpopenh264.lastUpdate": 1433493956,
    "media.gmp-gmpopenh264.version": "1.4",
    "media.gmp-eme-adobe.version": "11",
    "media.gmp-manager.lastCheck": 1434970321,
    "media.gmp-manager.buildID": "20150621004005",
    "network.cookie.prefsMigrated": true,
    "network.predictor.cleaned-up": true,
    "places.history.expiration.transient_current_max_pages": 104858,
    "places.database.lastMaintenance": 1434714562,
    "plugin.importedState": true,
    "plugin.disable_full_page_plugin_for_types": "application/pdf",
    "privacy.sanitize.migrateFx3Prefs": true,
    "storage.vacuum.last.places.sqlite": 1433427904,
    "storage.vacuum.last.index": 1
  },
  "lockedPreferences": {},
  "graphics": {
    "numTotalWindows": 1,
    "numAcceleratedWindows": 1,
    "windowLayerManagerType": "Direct3D 11",
    "windowLayerManagerRemote": true,
    "supportsHardwareH264": true,
    "adapterDescription": "ATI FirePro V4800 (FireGL V)",
    "adapterVendorID": "0x1002",
    "adapterDeviceID": "0x68c8",
    "adapterSubsysID": "2306103c",
    "adapterRAM": "1024",
    "adapterDrivers": "aticfx64 aticfx64 aticfx64 aticfx32 aticfx32 aticfx32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64",
    "driverVersion": "13.251.1.0",
    "driverDate": "12-23-2013",
    "adapterDescription2": "",
    "adapterVendorID2": "",
    "adapterDeviceID2": "",
    "adapterSubsysID2": "",
    "adapterRAM2": "",
    "adapterDrivers2": "",
    "driverVersion2": "",
    "driverDate2": "",
    "isGPU2Active": false,
    "direct2DEnabled": true,
    "directWriteEnabled": true,
    "directWriteVersion": "6.2.9200.17292",
    "clearTypeParameters": "D [ Gamma: 2200 Pixel Structure: R ClearType Level: 100 Enhanced Contrast: 200 ] D [ Gamma: 2200 Pixel Structure: R ClearType Level: 50 Enhanced Contrast: 200 ] ",
    "webglRenderer": "Google Inc. -- ANGLE (ATI FirePro V4800 (FireGL V) Direct3D11 vs_5_0 ps_5_0)",
    "info": {
      "AzureCanvasBackend": "direct2d 1.1",
      "AzureSkiaAccelerated": 0,
      "AzureFallbackCanvasBackend": "cairo",
      "AzureContentBackend": "direct2d 1.1"
    }
  },
  "javaScript": {
    "incrementalGCEnabled": true
  },
  "accessibility": {
    "isActive": false,
    "forceDisabled": 0
  },
  "libraryVersions": {
    "NSPR": {
      "minVersion": "4.10.8",
      "version": "4.10.8"
    },
    "NSS": {
      "minVersion": "3.19.2 Basic ECC",
      "version": "3.19.2 Basic ECC"
    },
    "NSSUTIL": {
      "minVersion": "3.19.2",
      "version": "3.19.2"
    },
    "NSSSSL": {
      "minVersion": "3.19.2 Basic ECC",
      "version": "3.19.2 Basic ECC"
    },
    "NSSSMIME": {
      "minVersion": "3.19.2 Basic ECC",
      "version": "3.19.2 Basic ECC"
    }
  },
  "userJS": {
    "exists": false
  },
  "crashes": {
    "submitted": [],
    "pending": 0
  },
  "extensions": [
    {
      "name": "Web Developer",
      "version": "1.2.5.1-signed",
      "isActive": true,
      "id": "{c45c406e-ab73-11d8-be73-000a95be3b12}"
    },
    {
      "name": "FiddlerHook",
      "version": "2.4.8.3",
      "isActive": false,
      "id": "fiddlerhook@fiddler2.com"
    },
    {
      "name": "McAfee ScriptScan for Firefox",
      "version": "15.1.0",
      "isActive": false,
      "id": "{D19CA586-DD6C-4a0a-96F8-14644F340D60}"
    }
  ],
  "experiments": []
}


and

Application Basics
------------------

Name: Firefox
Version: 40.0a2
Build ID: 20150621004005
Update Channel: aurora
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0
Multiprocess Windows: 1/1 (default: true)

Crash Reports for the Last 3 Days
---------------------------------

All Crash Reports

Extensions
----------

Name: Web Developer
Version: 1.2.5.1-signed
Enabled: true
ID: {c45c406e-ab73-11d8-be73-000a95be3b12}

Name: FiddlerHook
Version: 2.4.8.3
Enabled: false
ID: fiddlerhook@fiddler2.com

Name: McAfee ScriptScan for Firefox
Version: 15.1.0
Enabled: false
ID: {D19CA586-DD6C-4a0a-96F8-14644F340D60}

Graphics
--------

Adapter Description: ATI FirePro V4800 (FireGL V)
Adapter Drivers: aticfx64 aticfx64 aticfx64 aticfx32 aticfx32 aticfx32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64
Adapter RAM: 1024
Asynchronous Pan/Zoom: none
ClearType Parameters: D [ Gamma: 2200 Pixel Structure: R ClearType Level: 100 Enhanced Contrast: 200 ] D [ Gamma: 2200 Pixel Structure: R ClearType Level: 50 Enhanced Contrast: 200 ]
Device ID: 0x68c8
Direct2D Enabled: true
DirectWrite Enabled: true (6.2.9200.17292)
Driver Date: 12-23-2013
Driver Version: 13.251.1.0
GPU #2 Active: false
GPU Accelerated Windows: 1/1 Direct3D 11 (OMTC)
Subsys ID: 2306103c
Supports Hardware H264 Decoding: true
Vendor ID: 0x1002
WebGL Renderer: Google Inc. -- ANGLE (ATI FirePro V4800 (FireGL V) Direct3D11 vs_5_0 ps_5_0)
windowLayerManagerRemote: true
AzureCanvasBackend: direct2d 1.1
AzureContentBackend: direct2d 1.1
AzureFallbackCanvasBackend: cairo
AzureSkiaAccelerated: 0

Important Modified Preferences
------------------------------

accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 358400
browser.cache.disk.filesystem_reported: 1
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.cache.frecency_experiment: 2
browser.download.importedFromSqlite: true
browser.download.manager.alertOnEXEOpen: true
browser.places.smartBookmarksVersion: 7
browser.sessionstore.upgradeBackup.latestBuildID: 20150621004005
browser.startup.homepage_override.buildID: 20150621004005
browser.startup.homepage_override.mstone: 40.0a2
browser.tabs.remote.autostart: true
dom.apps.reset-permissions: true
dom.mozApps.used: true
extensions.lastAppVersion: 40.0a2
font.internaluseonly.changed: true
gfx.direct3d.last_used_feature_level_idx: 0
media.gmp-eme-adobe.lastUpdate: 1434359811
media.gmp-eme-adobe.version: 11
media.gmp-gmpopenh264.lastUpdate: 1433493956
media.gmp-gmpopenh264.version: 1.4
media.gmp-manager.buildID: 20150621004005
media.gmp-manager.lastCheck: 1434970321
network.cookie.prefsMigrated: true
network.predictor.cleaned-up: true
places.database.lastMaintenance: 1434714562
places.history.expiration.transient_current_max_pages: 104858
plugin.disable_full_page_plugin_for_types: application/pdf
plugin.importedState: true
privacy.sanitize.migrateFx3Prefs: true
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1433427904

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
---------------------
Attached file memory-report.json.gz
Could you do the same test with a fresh profile (and of course, no addon)?
https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles
Flags: needinfo?(Sarkie)
Whiteboard: [MemShrink]
(In reply to Loic from comment #3)
> Could you do the same test with a fresh profile (and of course, no addon)?
> https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-
> firefox-profiles

This is a fresh profile, but I'll attempt to recreate this weekend.
Flags: needinfo?(Sarkie)
Ok, if you tested initially with a clean profile, no need to test again.
As I saw some add-ons in your about:support page, that's why I asked. In general, we ask to reproduce the memory issue with a clean profile without add-on to be sure the root cause is not a faulty add-on.
Well it's clean as in, I installed the developer edition and it was new with the addons, but I'll make an "empty" clean profile and run it over the weekend.
This stands out in the memory report:
626.97 MB (65.53%) ── heap-unclassified
I'll try leaving Twitter open in a DMD build for a few days and see what happens.
Flags: needinfo?(continuation)
David, can you also try reproducing with the 'Web Developer' extension disabled (the other two listed look like they're already disabled)? It's possible that's the root cause.
Flags: needinfo?(Sarkie)
Summary: high memory usage → high heap-unclassified with Twitter
I wasn't able to reproduce this with a clean profile. Maybe it is related to an addon, or maybe I wasn't interacting with Twitter in the right way.
Flags: needinfo?(continuation)
Lets close this for now, David feel free to reopen if you have time to test w/o the Web Developer add-on.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
Flags: needinfo?(Sarkie)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: