Closed Bug 761147 Opened 12 years ago Closed 12 years ago

Memory Leak/Usage high as compared to Internet Explorer 9

Categories

(Firefox :: Untriaged, defect)

12 Branch
x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 679775

People

(Reporter: a_nut_in, Unassigned)

Details

Attachments

(4 files)

Attached image FF.jpg
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0
Build ID: 20120420145725

Steps to reproduce:

Any graphics hungry website seems to slow up the entire system as FF seems to be hogging memory


Actual results:

Try this:

1. Open FB and browse to a profile that has photographs
2. Browse the photos by hitting the "right" key on the keyboard cyclically
3. System slows down to a crawl if the site has like 50+ photos
4. Task Manager shows abnormally high Memory usage.
5. Closing FF brings down the memory usage again

Issue cannot be replicated using IE9

Restarting FF with add-ons disabled does not help



  

  Application Basics

        Name
        Firefox

        Version
        12.0

        User Agent
        Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0

        Profile Directory

          Show Folder

        Enabled Plugins

          about:plugins

        Build Configuration

          about:buildconfig

        Crash Reports

          about:crashes

        Memory Use

          about:memory

  Extensions

        Name

        Version

        Enabled

        ID

        Roboform Toolbar for Firefox
        7.7.0
        true
        {22119944-ED35-4ab1-910B-E619EA06A115}

        Test Pilot
        1.2.1
        true
        testpilot@labs.mozilla.com

        User Agent Switcher
        0.7.3
        true
        {e968fc70-8f95-4ab9-9e79-304de2a71ee1}

        AVG Safe Search
        12.0.0.1912
        false
        {1E73965B-8B48-48be-9C8D-68B920ABC1C4}

  Important Modified Preferences

      Name

      Value

        accessibility.typeaheadfind.flashBar
        0

        browser.cache.disk.capacity
        1048576

        browser.cache.disk.smart_size.first_run
        false

        browser.cache.disk.smart_size_cached_value
        645120

        browser.places.smartBookmarksVersion
        2

        browser.startup.homepage
        about:home

        browser.startup.homepage_override.buildID
        20120420145725

        browser.startup.homepage_override.mstone
        rv:12.0

        extensions.lastAppVersion
        12.0

        keyword.URL
        http://isearch.avg.com/search?cid=%7B766cf794-1efd-4f83-b37e-d2ca4980dbd7%7D&mid=fff10ddea6c047d1ab59d1570a29d776-3fbaad…

        network.cookie.prefsMigrated
        true

        network.http.max-connections-per-server
        1024

        network.http.max-persistent-connections-per-proxy
        1024

        network.http.max-persistent-connections-per-server
        1024

        network.http.pipelining.maxrequests
        1024

        places.database.lastMaintenance
        1334657472

        places.history.enabled
        false

        places.history.expiration.transient_current_max_pages
        80477

        places.history.expiration.transient_optimal_database_size
        128762674

        privacy.clearOnShutdown.offlineApps
        true

        privacy.clearOnShutdown.passwords
        true

        privacy.clearOnShutdown.siteSettings
        true

        privacy.donottrackheader.enabled
        true

        privacy.sanitize.migrateFx3Prefs
        true

        privacy.sanitize.sanitizeOnShutdown
        true

        privacy.sanitize.timeSpan
        2

        security.warn_viewing_mixed
        false

  Graphics

        Adapter Description
        ATI Radeon HD 3600 Series

        Vendor ID
        0x1002

        Device ID
        0x9598

        Adapter RAM
        256

        Adapter Drivers
        aticfx32 aticfx32 atiumdag atidxx32 atiumdva

        Driver Version
        8.961.0.0

        Driver Date
        4-5-2012

        Direct2D Enabled
        true

        DirectWrite Enabled
        true (6.1.7601.17789)

        ClearType Parameters
        ClearType parameters not found

        WebGL Renderer
        Google Inc. -- ANGLE (ATI Radeon HD 3600 Series) -- OpenGL ES 2.0 (ANGLE 1.0.0.963)

        GPU Accelerated Windows
        1/1 Direct3D 10

        AzureBackend
        direct2d

    

-----------------------

Main Process

Explicit Allocations
59.21 MB (100.0%) -- explicit
├──27.80 MB (46.95%) -- js
│  ├──13.54 MB (22.86%) -- compartment([System Principal], 0x5a76000)
│  │  ├───7.21 MB (12.17%) -- gc-heap
│  │  │   ├──3.39 MB (05.72%) -- objects
│  │  │   │  ├──2.31 MB (03.90%) ── non-function
│  │  │   │  └──1.08 MB (01.82%) ── function
│  │  │   ├──1.59 MB (02.68%) -- shapes
│  │  │   │  ├──0.97 MB (01.63%) ── tree
│  │  │   │  └──0.62 MB (01.05%) ++ (2 tiny)
│  │  │   ├──1.26 MB (02.13%) ── strings
│  │  │   ├──0.78 MB (01.32%) ── scripts
│  │  │   └──0.19 MB (00.32%) ++ (3 tiny)
│  │  ├───1.68 MB (02.84%) ── string-chars
│  │  ├───1.48 MB (02.49%) ── script-data
│  │  ├───0.99 MB (01.66%) ++ shapes-extra
│  │  ├───0.88 MB (01.48%) ── analysis-temporary
│  │  ├───0.67 MB (01.12%) ++ (4 tiny)
│  │  └───0.65 MB (01.10%) ── object-slots
│  ├───3.31 MB (05.58%) -- compartment(https://bugzilla.mozilla.org/)
│  │   ├──1.72 MB (02.91%) ++ gc-heap
│  │   ├──0.91 MB (01.54%) ++ (7 tiny)
│  │   └──0.67 MB (01.14%) ── script-data
│  ├───3.19 MB (05.38%) -- compartment([System Principal], file:///C:/Program%20Files/Siber%20Systems/AI%20RoboForm/Firefox/bootstrap.js, 0x66e5000)
│  │   ├──1.88 MB (03.17%) -- gc-heap
│  │   │  ├──0.78 MB (01.32%) ── strings
│  │   │  ├──0.60 MB (01.02%) ++ objects
│  │   │  └──0.49 MB (00.83%) ++ (4 tiny)
│  │   └──1.31 MB (02.21%) ++ (9 tiny)
│  ├───1.84 MB (03.11%) -- compartment(atoms)
│  │   ├──1.10 MB (01.85%) ── string-chars
│  │   └──0.75 MB (01.26%) -- gc-heap
│  │      ├──0.74 MB (01.24%) ── strings
│  │      └──0.01 MB (00.02%) ++ arena
│  ├───1.42 MB (02.40%) ++ (19 tiny)
│  ├───1.28 MB (02.16%) ++ runtime
│  ├───1.20 MB (02.03%) ── gc-heap-decommitted
│  ├───1.03 MB (01.73%) ── xpconnect
│  └───1.00 MB (01.69%) ── gc-heap-chunk-clean-unused
├──17.31 MB (29.24%) ── heap-unclassified
├───5.91 MB (09.98%) -- storage
│   ├──4.60 MB (07.77%) -- sqlite
│   │  ├──2.16 MB (03.64%) ++ (10 tiny)
│   │  ├──1.26 MB (02.13%) -- places.sqlite
│   │  │  ├──1.10 MB (01.86%) ── cache-used [3]
│   │  │  └──0.16 MB (00.27%) ++ (2 tiny)
│   │  └──1.18 MB (01.99%) ── other
│   └──1.31 MB (02.21%) -- prefixset
│      └──1.31 MB (02.21%) ── all
├───2.21 MB (03.73%) ── spell-check
├───2.07 MB (03.50%) -- layout
│   ├──1.41 MB (02.37%) ++ (7 tiny)
│   └──0.67 MB (01.13%) ++ shell(chrome://browser/content/browser.xul)
├───0.91 MB (01.53%) ── xpti-working-set
├───0.90 MB (01.52%) -- startup-cache
│   ├──0.90 MB (01.52%) ── mapping
│   └──0.00 MB (00.00%) ── data
├───0.84 MB (01.41%) ++ (4 tiny)
├───0.64 MB (01.08%) ── network-memory-cache
└───0.63 MB (01.06%) -- dom
    └──0.63 MB (01.06%) ++ window-objects

Other Measurements
  0.00 MB ── canvas-2d-pixel-bytes
 59.22 MB ── explicit
  0.36 MB ── gfx-d2d-surfacecache
 13.72 MB ── gfx-d2d-surfacevram
  0.41 MB ── gfx-surface-image
  0.00 MB ── gfx-surface-win32
 42.00 MB ── heap-allocated
 45.94 MB ── heap-committed
    8.54% ── heap-committed-fragmentation
  2.47 MB ── heap-dirty
  8.00 MB ── heap-unallocated
       19 ── js-compartments-system
        2 ── js-compartments-user
 15.00 MB ── js-gc-heap
  1.26 MB ── js-gc-heap-arena-unused
  1.00 MB ── js-gc-heap-chunk-clean-unused
  0.14 MB ── js-gc-heap-chunk-dirty-unused
  1.20 MB ── js-gc-heap-decommitted
    2.15% ── js-gc-heap-unused-fraction
  1.29 MB ── js-total-analysis-temporary
  1.06 MB ── js-total-mjit
  5.71 MB ── js-total-objects
  3.66 MB ── js-total-scripts
  3.60 MB ── js-total-shapes
  5.79 MB ── js-total-strings
  0.28 MB ── js-total-type-inference
        0 ── low-memory-events-physical
        0 ── low-memory-events-virtual
165.24 MB ── private
185.73 MB ── resident
  4.60 MB ── storage-sqlite
499.01 MB ── vsize




Expected results:

Memory usage should have been on par with IE9 or thereabouts
Attached image FF screenshot
Attached image IE
This is with the issue hit:
----------------------------

Main Process

Explicit Allocations
1,023.90 MB (100.0%) -- explicit
├────912.12 MB (89.08%) -- images
│    ├──911.73 MB (89.05%) -- content
│    │  ├──911.73 MB (89.05%) -- used
│    │  │  ├──886.32 MB (86.56%) ── uncompressed-heap
│    │  │  ├───25.41 MB (02.48%) ── raw
│    │  │  └────0.00 MB (00.00%) ── uncompressed-nonheap
│    │  └────0.00 MB (00.00%) ++ unused
│    └────0.39 MB (00.04%) ++ chrome
├─────39.82 MB (03.89%) -- js
│     ├──29.57 MB (02.89%) ++ (28 tiny)
│     └──10.25 MB (01.00%) ++ compartment(https://www.facebook.com/)
├─────30.16 MB (02.95%) ── heap-unclassified
├─────23.82 MB (02.33%) ── network-memory-cache
└─────17.97 MB (01.76%) ++ (9 tiny)

Other Measurements
    0.00 MB ── canvas-2d-pixel-bytes
1,023.90 MB ── explicit
  559.95 MB ── gfx-d2d-surfacecache
   11.12 MB ── gfx-d2d-surfacevram
  886.72 MB ── gfx-surface-image
    0.00 MB ── gfx-surface-win32
  998.37 MB ── heap-allocated
1,004.39 MB ── heap-committed
      0.59% ── heap-committed-fragmentation
    1.20 MB ── heap-dirty
   31.62 MB ── heap-unallocated
         19 ── js-compartments-system
          6 ── js-compartments-user
   23.00 MB ── js-gc-heap
    4.60 MB ── js-gc-heap-arena-unused
    0.00 MB ── js-gc-heap-chunk-clean-unused
    0.00 MB ── js-gc-heap-chunk-dirty-unused
    6.46 MB ── js-gc-heap-decommitted
      0.04% ── js-gc-heap-unused-fraction
    2.15 MB ── js-total-analysis-temporary
    1.38 MB ── js-total-mjit
    6.24 MB ── js-total-objects
    6.07 MB ── js-total-scripts
    5.62 MB ── js-total-shapes
    3.11 MB ── js-total-strings
    1.11 MB ── js-total-type-inference
          0 ── low-memory-events-physical
          0 ── low-memory-events-virtual
1,138.21 MB ── private
1,164.39 MB ── resident
    5.29 MB ── storage-sqlite
1,500.69 MB ── vsize
This is after logging out of FB
--------------------------------

Main Process

Explicit Allocations
134.88 MB (100.0%) -- explicit
├───38.39 MB (28.46%) -- js
│   ├───9.77 MB (07.24%) -- compartment(https://www.facebook.com/)
│   │   ├──5.77 MB (04.28%) -- gc-heap
│   │   │  ├──2.18 MB (01.62%) -- arena
│   │   │  │  ├──2.13 MB (01.58%) ── unused
│   │   │  │  └──0.05 MB (00.04%) ++ (2 tiny)
│   │   │  ├──1.98 MB (01.47%) ++ (4 tiny)
│   │   │  └──1.61 MB (01.19%) ++ objects
│   │   └──4.00 MB (02.96%) ++ (8 tiny)
│   ├───8.83 MB (06.55%) -- compartment([System Principal], 0x5a76000)
│   │   ├──5.09 MB (03.77%) -- gc-heap
│   │   │  ├──1.89 MB (01.40%) ++ (5 tiny)
│   │   │  ├──1.63 MB (01.21%) ++ objects
│   │   │  └──1.57 MB (01.17%) ++ shapes
│   │   ├──2.23 MB (01.66%) ++ (8 tiny)
│   │   └──1.51 MB (01.12%) ── script-data
│   ├───5.40 MB (04.01%) -- compartment(https://bugzilla.mozilla.org/)
│   │   ├──3.07 MB (02.27%) ++ gc-heap
│   │   └──2.34 MB (01.73%) ++ (8 tiny)
│   ├───4.39 MB (03.26%) ── gc-heap-decommitted
│   ├───4.09 MB (03.03%) ++ (23 tiny)
│   ├───3.52 MB (02.61%) -- compartment([System Principal], file:///C:/Program%20Files/Siber%20Systems/AI%20RoboForm/Firefox/bootstrap.js, 0x66e5000)
│   │   ├──2.20 MB (01.63%) ++ gc-heap
│   │   └──1.32 MB (00.97%) ++ (9 tiny)
│   └───2.38 MB (01.76%) ++ compartment(atoms)
├───28.02 MB (20.77%) ── heap-unclassified
├───25.84 MB (19.16%) -- images
│   ├──25.45 MB (18.87%) -- content
│   │  ├──25.45 MB (18.87%) -- used
│   │  │  ├──25.41 MB (18.84%) ── raw
│   │  │  └───0.04 MB (00.03%) ++ (2 tiny)
│   │  └───0.00 MB (00.00%) ++ unused
│   └───0.39 MB (00.29%) ++ chrome
├───24.00 MB (17.79%) ── network-memory-cache
├────6.60 MB (04.89%) -- storage
│    ├──5.29 MB (03.92%) -- sqlite
│    │  ├──3.56 MB (02.64%) ++ (11 tiny)
│    │  └──1.73 MB (01.28%) -- places.sqlite
│    │     ├──1.48 MB (01.10%) ── cache-used [3]
│    │     └──0.25 MB (00.19%) ++ (2 tiny)
│    └──1.31 MB (00.97%) ++ prefixset
├────4.99 MB (03.70%) -- layout
│    ├──1.89 MB (01.40%) ++ (11 tiny)
│    ├──1.69 MB (01.25%) ++ shell(https://bugzilla.mozilla.org/show_bug.cgi?id=761147)
│    └──1.41 MB (01.05%) ++ shell(https://www.facebook.com/photo.php?fbid=4063683278359&set=a.4063596716195.2173581.1470563921&type=1&theater)
├────2.43 MB (01.80%) -- dom
│    └──2.43 MB (01.80%) -- window-objects
│       ├──1.65 MB (01.22%) ++ active
│       └──0.78 MB (00.58%) ++ (2 tiny)
├────2.41 MB (01.79%) ++ (5 tiny)
└────2.21 MB (01.64%) ── spell-check

Other Measurements
  0.00 MB ── canvas-2d-pixel-bytes
134.89 MB ── explicit
  0.38 MB ── gfx-d2d-surfacecache
 11.11 MB ── gfx-d2d-surfacevram
  0.44 MB ── gfx-surface-image
  0.00 MB ── gfx-surface-win32
109.36 MB ── heap-allocated
118.98 MB ── heap-committed
    8.07% ── heap-committed-fragmentation
  1.91 MB ── heap-dirty
 26.64 MB ── heap-unallocated
       19 ── js-compartments-system
        4 ── js-compartments-user
 23.00 MB ── js-gc-heap
  4.96 MB ── js-gc-heap-arena-unused
  0.00 MB ── js-gc-heap-chunk-clean-unused
  0.11 MB ── js-gc-heap-chunk-dirty-unused
  4.39 MB ── js-gc-heap-decommitted
    0.17% ── js-gc-heap-unused-fraction
  0.89 MB ── js-total-analysis-temporary
  1.29 MB ── js-total-mjit
  6.46 MB ── js-total-objects
  6.18 MB ── js-total-scripts
  5.65 MB ── js-total-shapes
  4.23 MB ── js-total-strings
  0.99 MB ── js-total-type-inference
        0 ── low-memory-events-physical
        0 ── low-memory-events-virtual
250.91 MB ── private
278.52 MB ── resident
  5.29 MB ── storage-sqlite
599.31 MB ── vsize
Attached image After FB closed
This is a good minute after FB closed
-------------------------------------

Main Process

Explicit Allocations
105.37 MB (100.0%) -- explicit
├───41.94 MB (39.80%) -- js
│   ├───9.50 MB (09.01%) ── gc-heap-chunk-dirty-unused
│   ├───8.62 MB (08.18%) -- compartment([System Principal], 0x5a76000)
│   │   ├──4.93 MB (04.68%) -- gc-heap
│   │   │  ├──1.89 MB (01.79%) ++ (5 tiny)
│   │   │  ├──1.53 MB (01.45%) ++ objects
│   │   │  └──1.51 MB (01.43%) ++ shapes
│   │   ├──1.51 MB (01.44%) ── script-data
│   │   ├──1.12 MB (01.06%) ++ (7 tiny)
│   │   └──1.05 MB (01.00%) ++ shapes-extra
│   ├───5.65 MB (05.36%) -- compartment(https://bugzilla.mozilla.org/)
│   │   ├──3.00 MB (02.84%) ++ gc-heap
│   │   ├──1.45 MB (01.38%) ++ (7 tiny)
│   │   └──1.20 MB (01.14%) ── script-data
│   ├───5.00 MB (04.74%) ── gc-heap-chunk-clean-unused
│   ├───4.44 MB (04.21%) ── gc-heap-decommitted
│   ├───3.23 MB (03.07%) -- compartment([System Principal], file:///C:/Program%20Files/Siber%20Systems/AI%20RoboForm/Firefox/bootstrap.js, 0x66e5000)
│   │   ├──1.93 MB (01.83%) ++ gc-heap
│   │   └──1.31 MB (01.24%) ++ (9 tiny)
│   ├───1.83 MB (01.74%) ++ compartment(atoms)
│   ├───1.47 MB (01.40%) ++ (18 tiny)
│   ├───1.13 MB (01.08%) ++ runtime
│   └───1.07 MB (01.01%) ── xpconnect
├───24.13 MB (22.90%) ── network-memory-cache
├───23.12 MB (21.94%) ── heap-unclassified
├────6.60 MB (06.26%) -- storage
│    ├──5.29 MB (05.02%) -- sqlite
│    │  ├──2.30 MB (02.18%) ++ (10 tiny)
│    │  ├──1.73 MB (01.64%) -- places.sqlite
│    │  │  ├──1.48 MB (01.40%) ── cache-used [3]
│    │  │  └──0.25 MB (00.24%) ++ (2 tiny)
│    │  └──1.27 MB (01.20%) ── other
│    └──1.31 MB (01.24%) -- prefixset
│       └──1.31 MB (01.24%) ── all
├────3.22 MB (03.06%) -- layout
│    ├──1.78 MB (01.69%) -- shell(https://bugzilla.mozilla.org/show_bug.cgi?id=761147)
│    │  ├──1.43 MB (01.35%) ── arenas [3]
│    │  └──0.36 MB (00.34%) ++ (2 tiny)
│    └──1.44 MB (01.37%) ++ (5 tiny)
├────2.77 MB (02.63%) ++ (6 tiny)
├────2.21 MB (02.10%) ── spell-check
└────1.38 MB (01.31%) -- dom
     └──1.38 MB (01.31%) ++ window-objects

Other Measurements
  0.10 MB ── canvas-2d-pixel-bytes
105.38 MB ── explicit
  0.37 MB ── gfx-d2d-surfacecache
 11.21 MB ── gfx-d2d-surfacevram
  0.43 MB ── gfx-surface-image
  0.00 MB ── gfx-surface-win32
 72.16 MB ── heap-allocated
 84.86 MB ── heap-committed
   14.95% ── heap-committed-fragmentation
  1.86 MB ── heap-dirty
 63.83 MB ── heap-unallocated
       19 ── js-compartments-system
        2 ── js-compartments-user
 31.00 MB ── js-gc-heap
  2.47 MB ── js-gc-heap-arena-unused
  5.00 MB ── js-gc-heap-chunk-clean-unused
  9.50 MB ── js-gc-heap-chunk-dirty-unused
  4.44 MB ── js-gc-heap-decommitted
    0.35% ── js-gc-heap-unused-fraction
  0.59 MB ── js-total-analysis-temporary
  0.98 MB ── js-total-mjit
  4.03 MB ── js-total-objects
  4.43 MB ── js-total-scripts
  4.12 MB ── js-total-shapes
  3.04 MB ── js-total-strings
  0.46 MB ── js-total-type-inference
        0 ── low-memory-events-physical
        0 ── low-memory-events-virtual
224.13 MB ── private
254.21 MB ── resident
  5.29 MB ── storage-sqlite
626.26 MB ── vsize
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: