Closed Bug 840779 Opened 11 years ago Closed 11 years ago

Many detached windows in long-running session

Categories

(Core :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: davida, Unassigned)

References

Details

Attachments

(2 files)

Attached file about:memory
Will attach about:memory and about:support

Top of the former reads:


Explicit Allocations

1,487.88 MB (100.0%) -- explicit

├────808.69 MB (54.35%) -- window-objects

│ ├──153.22 MB (10.30%) -- top(https://mail.google.com/mail/u/0/?

...
├────326.66 MB (21.95%) -- js-non-window
│ ├──152.02 MB (10.22%) -- compartments
about:support details:


  Application Basics

        Name
        Firefox

        Version
        21.0a1

        User Agent
        Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20130207 Firefox/21.0

        Build Configuration

          about:buildconfig

  Extensions

        Name

        Version

        Enabled

        ID

        about:profile
        1
        true
        jid1-ISK94hGUF3FsrA@jetpack

        about:telemetry
        0.14
        true
        ping.telemetry@mozilla.com

        Add-on Compatibility Reporter
        2.0
        true
        compatibility@addons.mozilla.org

        BugzillaJS
        3.1.0
        true
        jid0-NgMDcEu2B88AbzZ6ulHodW9sJzA@jetpack

        DOM Inspector
        2.0.13
        true
        inspector@mozilla.org

        JSONView
        0.7
        true
        jsonview@brh.numbera.com

        Mass Password Reset
        1.05
        true
        masspasswordreset@johnathan.nightingale

  Important Modified Preferences

      Name

      Value

        accessibility.typeaheadfind.flashBar
        0

        browser.cache.disk.capacity
        1048576

        browser.cache.disk.smart_size_cached_value
        358400

        browser.cache.disk.smart_size.first_run
        false

        browser.cache.disk.smart_size.use_old_max
        false

        browser.places.smartBookmarksVersion
        4

        browser.startup.homepage_override.buildID
        20130207030936

        browser.startup.homepage_override.mstone
        21.0a1

        dom.mozApps.maxLocalId
        1001

        dom.mozApps.runUpdate
        false

        dom.mozApps.used
        true

        dom.mozApps.whitelist
        https://myapps.mozillalabs.com

        dom.w3c_touch_events.expose
        false

        extensions.checkCompatibility
        false

        extensions.checkCompatibility.10.0
        false

        extensions.checkCompatibility.10.0a
        false

        extensions.checkCompatibility.11.0
        false

        extensions.checkCompatibility.11.0a
        false

        extensions.checkCompatibility.12.0
        false

        extensions.checkCompatibility.12.0a
        false

        extensions.checkCompatibility.3.6
        false

        extensions.checkCompatibility.3.6b
        false

        extensions.checkCompatibility.3.6p
        false

        extensions.checkCompatibility.3.6pre
        false

        extensions.checkCompatibility.3.7a
        false

        extensions.checkCompatibility.4.0
        false

        extensions.checkCompatibility.4.0b
        false

        extensions.checkCompatibility.4.0p
        false

        extensions.checkCompatibility.4.0pre
        false

        extensions.checkCompatibility.4.2
        false

        extensions.checkCompatibility.4.2a
        false

        extensions.checkCompatibility.4.2b
        false

        extensions.checkCompatibility.4.2p
        false

        extensions.checkCompatibility.4.2pre
        false

        extensions.checkCompatibility.5.0
        false

        extensions.checkCompatibility.5.0a
        false

        extensions.checkCompatibility.5.0b
        false

        extensions.checkCompatibility.5.0p
        false

        extensions.checkCompatibility.5.0pre
        false

        extensions.checkCompatibility.6.0
        false

        extensions.checkCompatibility.6.0a
        false

        extensions.checkCompatibility.7.0
        false

        extensions.checkCompatibility.7.0a
        false

        extensions.checkCompatibility.8.0
        false

        extensions.checkCompatibility.8.0a
        false

        extensions.checkCompatibility.9.0
        false

        extensions.checkCompatibility.9.0a
        false

        extensions.checkCompatibility.nightly
        false

        extensions.lastAppVersion
        21.0a1

        gfx.blacklist.webgl.msaa
        4

        javascript.options.mem.log
        true

        network.cookie.prefsMigrated
        true

        network.protocol-handler.external.aliph
        true

        network.protocol-handler.warn-external.aliph
        false

        places.database.lastMaintenance
        1360697649

        places.history.expiration.transient_current_max_pages
        104858

        places.history.expiration.transient_optimal_database_size
        102972456

        plugin.disable_full_page_plugin_for_types
        application/pdf

        print.macosx.pagesetup-2
        PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCFET0NUWVBFIHBsaXN0IFBVQkxJQyAiLS8vQXBwbGUvL0RURCBQTElTVCAxLjAvL0VO

        privacy.cpd.cookies
        false

        privacy.cpd.downloads
        false

        privacy.cpd.formdata
        false

        privacy.cpd.history
        false

        privacy.cpd.sessions
        false

        privacy.donottrackheader.enabled
        true

        privacy.sanitize.migrateFx3Prefs
        true

        privacy.sanitize.timeSpan
        2

        security.warn_viewing_mixed
        false

    user.js Preferences

    Your profile folder contains a

      user.js file, which includes preferences that were not created by Nightly.

  Graphics

        Device ID
        0x 116

        GPU Accelerated Windows
        2/2 OpenGL

        Vendor ID
        0x8086

        WebGL Renderer
        Intel Inc. -- Intel HD Graphics 3000 OpenGL Engine

        AzureCanvasBackend
        quartz

        AzureContentBackend
        none

        AzureFallbackCanvasBackend
        none

  JavaScript

        Incremental GC
        true

  Accessibility

        Activated
        false

        Prevent Accessibility
        0

  Library Versions

        Expected minimum version

        Version in use

        NSPR
        4.9.5
        4.9.5

        NSS
        3.14.2.0 Basic ECC
        3.14.2.0 Basic ECC

        NSSSMIME
        3.14.2.0 Basic ECC
        3.14.2.0 Basic ECC

        NSSSSL
        3.14.2.0 Basic ECC
        3.14.2.0 Basic ECC

        NSSUTIL
        3.14.2.0
        3.14.2.0
Attached file about:memory?verbose
verbose version
The notable thing about this profile is the large number amount of detached window memory:

│    ├──145,071,896 B (09.45%) -- top(none)/detached

That breaks down as:

- 38 "[system]" windows (whatever they are)

- 86 https://plus.google.com/u/0/_/streamwidgets/canvas windows

- 7 https://talkgadget.google.com/... windows

- 1 https://plus.google.com/u/0/_/blank window

- 1 https://docs.google.com/... window

Other than that, this profile doesn't look unusual.  Memory consumption is high but there are lots of tabs running complex things like Gmail, Twitter, Google+, Google Docs, etc, so that's not surprising.
Summary: Huge memory footprint → Many detached windows in long-running session
Whiteboard: [MemShrink]
Bug 839086 would help with this.
Depends on: 839086
This definitely involves "Bug 822162 - about:blank leaked for every new popup".

The large amount of memory used by those about:blank is one of the things I saw when I reported it. The about:blank compartments contain at least some, if not all, of the page that was loaded in the popup.
(In reply to Hugh Nougher [:Hughman] from comment #5)
> This definitely involves "Bug 822162 - about:blank leaked for every new
> popup".

Hopefully you're right... let's assume so for now and track this in that bug.
Depends on: 822162
Whiteboard: [MemShrink]
> This definitely involves "Bug 822162 - about:blank leaked for every new
> popup".

That bug no longer seems to be reproducing, so I wonder if this bug is affected.  David, are you still seeing these detached windows?
Flags: needinfo?(dascher)
Just one in my current profile.   My guess is this can be closed.
Flags: needinfo?(dascher)
Thanks!
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: