On 4/5/17 3:33 PM, Mason83 wrote:
On 28/03/2017 20:58, Mason83 wrote:

On 28/03/2017 18:09, David H. Durgee wrote:

Looking at the memory report in the browser I see the following:

    └──-2,644.69 MB (-158.38%) ── heap-unclassified [?!]

The memory figure is highlighted in red, so I assume this is a problem.
I have the memory report saved and can make it available to you.

This looks like some kind of wrap-around of a signed
32-bit variable...

Here is a similar report I got (anonymized)

Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0 
SeaMonkey/2.48
Build identifier: 20170129231126

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
  3900 me        20   0 3771572 2,184g 118016 S   1,0 56,6 261:21.26 seamonkey

Main Process

WARNING: the following values are negative or unreasonably large.

     explicit/(19 tiny)
     explicit/(19 tiny)/heap-unclassified

This indicates a defect in one or more memory reporters. The invalid values are 
highlighted.
Explicit Allocations

2,177.11 MB (100.0%) -- explicit
├──1,717.08 MB (78.87%) -- maildb
│  ├────482.04 MB (22.14%) ── database(news://XXX)
│  ├────329.31 MB (15.13%) ── database(imap://XXX)
│  ├────251.00 MB (11.53%) ── database(news://XXX)
│  ├────145.23 MB (06.67%) ── database(news://XXX)
│  ├─────97.12 MB (04.46%) ── database(news://XXX)
│  ├─────83.93 MB (03.86%) ── database(imap://XXX)
│  ├─────79.31 MB (03.64%) ── database(imap://XXX)
│  ├─────75.64 MB (03.47%) ── database(imap://XXX)
│  ├─────42.90 MB (01.97%) ── database(imap://XXX)
│  ├─────37.75 MB (01.73%) ++ (16 tiny)
│  ├─────37.49 MB (01.72%) ── database(imap://XXX)
│  ├─────28.34 MB (01.30%) ── database(imap://XXX)
│  └─────27.01 MB (01.24%) ── database(snews://XXX)
├────618.48 MB (28.41%) -- window-objects
│    ├──564.71 MB (25.94%) -- top(none)
│    │  ├──521.49 MB (23.95%) -- detached
│    │  │  ├──135.31 MB (06.21%) -- 
window(chrome://messenger/content/messenger.xul)
│    │  │  │  ├───69.91 MB (03.21%) -- js-compartment([System Principal], 
about:blank)
│    │  │  │  │   ├──40.36 MB (01.85%) -- classes
│    │  │  │  │   │  ├──25.21 MB (01.16%) -- class(Function)/objects
│    │  │  │  │   │  │  ├──24.79 MB (01.14%) ── gc-heap [46]
│    │  │  │  │   │  │  └───0.41 MB (00.02%) ── malloc-heap/slots [46]
│    │  │  │  │   │  └──15.15 MB (00.70%) ++ (6 tiny)
│    │  │  │  │   └──29.55 MB (01.36%) ++ (6 tiny)
│    │  │  │  ├───63.92 MB (02.94%) -- dom
│    │  │  │  │   ├──43.31 MB (01.99%) ── element-nodes [46]
│    │  │  │  │   └──20.60 MB (00.95%) ++ (4 tiny)
│    │  │  │  └────1.48 MB (00.07%) ++ (2 tiny)
│    │  │  ├──135.12 MB (06.21%) -- 
window(chrome://navigator/content/navigator.xul)
│    │  │  │  ├───85.63 MB (03.93%) -- js-compartment([System Principal], 
about:blank)
│    │  │  │  │   ├──46.91 MB (02.15%) -- classes
│    │  │  │  │   │  ├──35.30 MB (01.62%) -- class(Function)/objects
│    │  │  │  │   │  │  ├──34.62 MB (01.59%) ── gc-heap [65]
│    │  │  │  │   │  │  └───0.69 MB (00.03%) ── malloc-heap/slots [65]
│    │  │  │  │   │  └──11.61 MB (00.53%) ++ (5 tiny)
│    │  │  │  │   ├──28.09 MB (01.29%) ++ scripts
│    │  │  │  │   └──10.62 MB (00.49%) ++ (4 tiny)
│    │  │  │  ├───49.21 MB (02.26%) -- dom
│    │  │  │  │   ├──35.94 MB (01.65%) ── element-nodes [65]
│    │  │  │  │   └──13.27 MB (00.61%) ++ (4 tiny)
│    │  │  │  └────0.28 MB (00.01%) ++ (2 tiny)
│    │  │  ├──112.00 MB (05.14%) -- 
window(chrome://messenger/content/messageWindow.xul)
│    │  │  │  ├───66.50 MB (03.05%) -- js-compartment([System Principal], 
about:blank)
│    │  │  │  │   ├──38.84 MB (01.78%) -- classes
│    │  │  │  │   │  ├──28.37 MB (01.30%) -- class(Function)/objects
│    │  │  │  │   │  │  ├──28.00 MB (01.29%) ── gc-heap [65]
│    │  │  │  │   │  │  └───0.36 MB (00.02%) ── malloc-heap/slots [65]
│    │  │  │  │   │  └──10.48 MB (00.48%) ++ (5 tiny)
│    │  │  │  │   └──27.65 MB (01.27%) ++ (5 tiny)
│    │  │  │  ├───45.19 MB (02.08%) -- dom
│    │  │  │  │   ├──31.74 MB (01.46%) ── element-nodes [65]
│    │  │  │  │   └──13.45 MB (00.62%) ++ (3 tiny)
│    │  │  │  └────0.32 MB (00.01%) ++ (2 tiny)
│    │  │  ├──101.75 MB (04.67%) -- 
window(chrome://messenger/content/messengercompose/messengercompose.xul)
│    │  │  │  ├───63.55 MB (02.92%) -- js-compartment([System Principal], 
about:blank)
│    │  │  │  │   ├──34.76 MB (01.60%) -- classes
│    │  │  │  │   │  ├──26.81 MB (01.23%) -- class(Function)/objects
│    │  │  │  │   │  │  ├──26.41 MB (01.21%) ── gc-heap [57]
│    │  │  │  │   │  │  └───0.40 MB (00.02%) ── malloc-heap/slots [57]
│    │  │  │  │   │  └───7.95 MB (00.37%) ++ (6 tiny)
│    │  │  │  │   ├──21.81 MB (01.00%) ++ scripts
│    │  │  │  │   └───6.98 MB (00.32%) ++ (5 tiny)
│    │  │  │  ├───37.84 MB (01.74%) -- dom
│    │  │  │  │   ├──27.44 MB (01.26%) ── element-nodes [57]
│    │  │  │  │   └──10.39 MB (00.48%) ++ (3 tiny)
│    │  │  │  └────0.37 MB (00.02%) ++ (2 tiny)
│    │  │  └───37.31 MB (01.71%) ++ (9 tiny)
│    │  └───43.21 MB (01.98%) ++ ghost
│    └───53.77 MB (02.47%) ++ (22 tiny)
├────596.63 MB (27.40%) -- js-non-window
│    ├──546.36 MB (25.10%) -- zones
│    │  ├──429.67 MB (19.74%) ++ (306 tiny)
│    │  ├───93.06 MB (04.27%) -- zone(0x7ff6ceac1000)
│    │  │   ├──56.11 MB (02.58%) ++ (275 tiny)
│    │  │   └──36.95 MB (01.70%) -- shapes
│    │  │      ├──26.31 MB (01.21%) ++ gc-heap
│    │  │      └──10.64 MB (00.49%) ++ malloc-heap
│    │  └───23.63 MB (01.09%) -- zone(0x7ff6d27f4000)
│    │      ├──22.64 MB (01.04%) -- strings
│    │      │  ├──22.49 MB (01.03%) ++ string(<non-notable strings>)
│    │      │  └───0.14 MB (00.01%) ++ (3 tiny)
│    │      └───0.99 MB (00.05%) ++ (5 tiny)
│    ├───39.83 MB (01.83%) ++ runtime
│    └───10.44 MB (00.48%) ++ gc-heap
├────121.99 MB (05.60%) -- gfx
│    ├──114.29 MB (05.25%) ── heap-textures
│    └────7.70 MB (00.35%) ++ (6 tiny)
├─────64.24 MB (02.95%) -- heap-overhead
│     ├──41.63 MB (01.91%) ── bin-unused
│     └──22.61 MB (01.04%) ++ (2 tiny)
├─────63.83 MB (02.93%) -- add-ons
│     ├──39.60 MB (01.82%) -- {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}
│     │  ├──39.56 MB (01.82%) -- js-non-window/zones/zone(0x7ff6ceac1000)
│     │  │  ├──39.06 MB (01.79%) -- compartment([System Principal], 
jar:file:///home/foo/.mozilla/seamonkey/SALT.default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/bootstrap.js
 (from: resource://gre/modules/addons/XPIProvider.jsm:4769))
│     │  │  │  ├──38.83 MB (01.78%) -- classes
│     │  │  │  │  ├──22.90 MB (01.05%) ++ class(Object)/objects
│     │  │  │  │  └──15.93 MB (00.73%) ++ (7 tiny)
│     │  │  │  └───0.23 MB (00.01%) ++ (5 tiny)
│     │  │  └───0.50 MB (00.02%) ++ (14 tiny)
│     │  └───0.04 MB (00.00%) ── dom/non-window-global?!/orphan-nodes
│     └──24.23 MB (01.11%) ++ (5 tiny)
├─────63.20 MB (02.90%) -- layout
│     ├──62.67 MB (02.88%) ── rule-processor-cache
│     └───0.53 MB (00.02%) ++ (2 tiny)
├─────24.42 MB (01.12%) ++ xpconnect
└──-1,092.75 MB (-50.19%) -- (19 tiny) [?!]
    ├──────18.26 MB (00.84%) ++ storage
    ├───────9.73 MB (00.45%) ++ startup-cache
    ├───────8.27 MB (00.38%) ++ images
    ├───────7.95 MB (00.37%) ++ network
    ├───────6.02 MB (00.28%) ++ dom
    ├───────5.82 MB (00.27%) ++ atom-tables
    ├───────3.47 MB (00.16%) ── spell-check
    ├───────2.10 MB (00.10%) ++ cycle-collector
    ├───────2.04 MB (00.09%) ++ 
workers/workers(chrome)/worker(resource://gre/modules/osfile/osfile_async_worker.js,
 0x7ff6c4c99800)
    ├───────1.23 MB (00.06%) ── xpti-working-set
    ├───────0.89 MB (00.04%) ── preferences
    ├───────0.68 MB (00.03%) ── icu
    ├───────0.48 MB (00.02%) ── telemetry
    ├───────0.31 MB (00.01%) ++ xpcom
    ├───────0.10 MB (00.00%) ── history-links-hashtable
    ├───────0.04 MB (00.00%) ── cookie-service
    ├───────0.01 MB (00.00%) ── script-namespace-manager
    ├───────0.00 MB (00.00%) ── media/libogg
    └──-1,160.14 MB (-53.29%) ── heap-unclassified [?!]

Other Measurements

10.88 MB (100.0%) -- decommitted
├──10.40 MB (95.65%) ── js-non-window/gc-heap/decommitted-arenas
└───0.47 MB (04.35%) ── 
workers/workers(chrome)/worker(resource://gre/modules/osfile/osfile_async_worker.js,
 0x7ff6c4c99800)/gc-heap/decommitted-arenas

218,048 (100.0%) -- event-counts
├──217,404 (99.70%) -- window-objects
│  ├──210,754 (96.65%) -- top(none)
│  │  ├──209,941 (96.28%) -- detached
│  │  │  ├───66,826 (30.65%) ── 
window(chrome://messenger/content/messenger.xul)/dom/event-listeners [46]
│  │  │  ├───57,485 (26.36%) ── 
window(chrome://navigator/content/navigator.xul)/dom/event-listeners [65]
│  │  │  ├───44,280 (20.31%) ── 
window(chrome://messenger/content/messageWindow.xul)/dom/event-listeners [65]
│  │  │  ├───39,841 (18.27%) ── 
window(chrome://messenger/content/messengercompose/messengercompose.xul)/dom/event-listeners
 [57]
│  │  │  └────1,509 (00.69%) ++ (4 tiny)
│  │  └──────813 (00.37%) ++ ghost
│  ├────4,318 (01.98%) ++ (21 tiny)
│  └────2,332 (01.07%) -- top(chrome://messenger/content/messenger.xul, 
id=5302)/active
│       ├──2,325 (01.07%) -- 
window(chrome://messenger/content/messenger.xul)/dom
│       │  ├──2,322 (01.06%) ── event-listeners
│       │  └──────3 (00.00%) ── event-targets
│       └──────7 (00.00%) ++ window(about:blank)/dom
└──────644 (00.30%) ++ 
add-ons/{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}/window-objects

5 (100.0%) -- ghost-windows
├──2 (40.00%) ── http://XXX
├──1 (20.00%) ── http://XXX
├──1 (20.00%) ── http://XXX
└──1 (20.00%) ── https://XXX

1,514.05 MB (100.0%) -- heap-committed
├──1,449.81 MB (95.76%) ── allocated
└─────64.24 MB (04.24%) ── overhead

8.27 MB (100.0%) -- images
├──5.45 MB (65.86%) -- chrome
│  ├──2.81 MB (33.97%) -- raster/used
│  │  ├──2.16 MB (26.14%) ── decoded-heap
│  │  └──0.65 MB (07.82%) ── source
│  └──2.64 MB (31.90%) -- vector/used
│     ├──2.64 MB (31.89%) ── source
│     └──0.00 MB (00.00%) ── decoded-heap
├──2.09 MB (25.25%) -- content
│  ├──1.87 MB (22.65%) -- raster/used
│  │  ├──1.79 MB (21.65%) ── source
│  │  └──0.08 MB (00.99%) ── decoded-heap
│  └──0.21 MB (02.60%) ── vector/used/source
└──0.74 MB (08.89%) -- uncached
    ├──0.47 MB (05.67%) -- raster/used
    │  ├──0.32 MB (03.90%) ── decoded-heap
    │  └──0.15 MB (01.77%) ── source
    └──0.27 MB (03.22%) -- vector/used
       ├──0.27 MB (03.22%) ── source
       └──0.00 MB (00.00%) ── decoded-heap

1,010.06 MB (100.0%) -- js-main-runtime
├────511.16 MB (50.61%) -- compartments
│    ├──334.21 MB (33.09%) -- classes/objects
│    │  ├──275.79 MB (27.30%) ── gc-heap
│    │  └───58.43 MB (05.78%) -- malloc-heap
│    │      ├──40.98 MB (04.06%) ── slots
│    │      ├──17.29 MB (01.71%) ── elements/normal
│    │      └───0.16 MB (00.02%) ── misc
│    ├──118.20 MB (11.70%) -- scripts
│    │  ├───81.14 MB (08.03%) ── gc-heap
│    │  └───37.06 MB (03.67%) ── malloc-heap/data
│    ├───35.49 MB (03.51%) ── cross-compartment-wrapper-table
│    └───23.25 MB (02.30%) ++ (11 tiny)
├────448.64 MB (44.42%) -- zones
│    ├──208.99 MB (20.69%) -- shapes
│    │  ├──156.61 MB (15.51%) -- gc-heap
│    │  │  ├───88.63 MB (08.77%) ── tree
│    │  │  ├───64.15 MB (06.35%) ── dict
│    │  │  └────3.84 MB (00.38%) ── base
│    │  └───52.38 MB (05.19%) -- malloc-heap
│    │      ├──23.47 MB (02.32%) ── dict-tables
│    │      ├──22.14 MB (02.19%) ── tree-tables
│    │      └───6.77 MB (00.67%) ── tree-kids
│    ├───70.14 MB (06.94%) -- scopes
│    │   ├──41.18 MB (04.08%) ── malloc-heap
│    │   └──28.95 MB (02.87%) ── gc-heap
│    ├───48.72 MB (04.82%) -- strings
│    │   ├──30.54 MB (03.02%) -- gc-heap
│    │   │  ├──21.35 MB (02.11%) ── latin1
│    │   │  └───9.19 MB (00.91%) ── two-byte
│    │   └──18.17 MB (01.80%) -- malloc-heap
│    │      ├──13.93 MB (01.38%) ── latin1
│    │      └───4.24 MB (00.42%) ── two-byte
│    ├───30.27 MB (03.00%) ── unused-gc-things
│    ├───30.02 MB (02.97%) ── type-pool
│    ├───29.61 MB (02.93%) -- object-groups
│    │   ├──28.99 MB (02.87%) ── gc-heap
│    │   └───0.62 MB (00.06%) ── malloc-heap
│    ├───18.80 MB (01.86%) ++ (6 tiny)
│    └───12.10 MB (01.20%) ── gc-heap-arena-admin
├─────39.83 MB (03.94%) ── runtime
└─────10.44 MB (01.03%) -- gc-heap
       ├──10.44 MB (01.03%) ── chunk-admin
       └───0.00 MB (00.00%) ++ (2 tiny)

1,413 (100.0%) -- js-main-runtime-compartments
├──1,309 (92.64%) -- system
│  ├────724 (51.24%) ── [System Principal] [724]
│  ├────314 (22.22%) ++ (308 tiny)
│  ├────252 (17.83%) ── [System Principal], about:blank [252]
│  └─────19 (01.34%) ── [System Principal], 
inProcessTabChildGlobal?ownedBy=chrome://navigator/content/navigator.xul [19]
└────104 (07.36%) -- user
      ├───68 (04.81%) ── about:blank [68]
      └───36 (02.55%) ++ (25 tiny)

657.60 MB (100.0%) -- js-main-runtime-gc-heap-committed
├──627.33 MB (95.40%) -- used
│  ├──604.79 MB (91.97%) -- gc-things
│  │  ├──275.79 MB (41.94%) ── objects
│  │  ├──152.77 MB (23.23%) ── shapes
│  │  ├───81.14 MB (12.34%) ── scripts
│  │  ├───30.54 MB (04.64%) ── strings
│  │  ├───28.99 MB (04.41%) ── object-groups
│  │  ├───28.95 MB (04.40%) ── scopes
│  │  └────6.60 MB (01.00%) ++ (4 tiny)
│  ├───12.10 MB (01.84%) ── arena-admin
│  └───10.44 MB (01.59%) ── chunk-admin
└───30.27 MB (04.60%) -- unused
     ├──30.27 MB (04.60%) -- gc-things
     │  ├──11.39 MB (01.73%) ── object-groups
     │  ├──10.45 MB (01.59%) ── objects
     │  └───8.42 MB (01.28%) ++ (8 tiny)
     └───0.00 MB (00.00%) ++ (2 tiny)

174 (100.0%) -- message-manager
└──174 (100.0%) -- referent
    ├──135 (77.59%) -- global-manager
    │  ├──132 (75.86%) ── strong
    │  └────3 (01.72%) -- weak
    │       ├──3 (01.72%) ── alive
    │       └──0 (00.00%) ── dead
    ├───32 (18.39%) -- parent-process-manager
    │   ├──26 (14.94%) ── strong
    │   └───6 (03.45%) -- weak
    │       ├──6 (03.45%) ── alive
    │       └──0 (00.00%) ── dead
    └────7 (04.02%) -- child-process-manager
         ├──7 (04.02%) ── strong
         └──0 (00.00%) ++ weak

2,479 (100.0%) -- observer-service
└──2,479 (100.0%) -- referent
    ├──1,939 (78.22%) ── strong
    └────540 (21.78%) -- weak
         ├──491 (19.81%) ── alive
         └───49 (01.98%) ── dead

985 (100.0%) -- observer-service-suspect
├──606 (61.52%) ── referent(topic=memory-pressure)
└──379 (38.48%) ── referent(topic=xpcom-shutdown)

1,312 (100.0%) -- preference-service
└──1,312 (100.0%) -- referent
    ├──1,201 (91.54%) ── strong
    └────111 (08.46%) -- weak
         ├──111 (08.46%) ── alive
         └────0 (00.00%) ── dead

268.87 MB (100.0%) -- window-objects
├──215.07 MB (79.99%) -- dom
│  ├──150.87 MB (56.11%) ── element-nodes
│  ├───52.84 MB (19.65%) ── other
│  ├────7.96 MB (02.96%) ── orphan-nodes
│  ├────3.18 MB (01.18%) ── text-nodes
│  └────0.22 MB (00.08%) ++ (3 tiny)
├───38.55 MB (14.34%) ── style-sheets
├───14.80 MB (05.50%) -- layout
│   ├──11.84 MB (04.40%) ++ (8 tiny)
│   └───2.96 MB (01.10%) ── frames
└────0.45 MB (00.17%) ── property-tables

     0.00 MB ── gfx-surface-image
     0.00 MB ── gfx-surface-xlib
     0.00 MB ── gfx-textures
     0.00 MB ── gfx-textures-peak
     0.00 MB ── gfx-tiles-waste
           5 ── ghost-windows
1,449.81 MB ── heap-allocated
     1.00 MB ── heap-chunksize
1,762.00 MB ── heap-mapped
     2.40 MB ── imagelib-surface-cache-estimated-locked
     2.40 MB ── imagelib-surface-cache-estimated-total
           0 ── imagelib-surface-cache-overflow-count
     3.44 MB ── js-main-runtime-temporary-peak
      67,635 ── page-faults-hard
161,152,905 ── page-faults-soft
2,190.69 MB ── resident
2,607.54 MB ── resident-peak
2,122.21 MB ── resident-unique
     0.00 MB ── system-heap-allocated
3,653.55 MB ── vsize

End of Main Process


The other day after browsing for 8+ hours, I saw memory consumption upwards of 1.6GB. Using the Memory freeing option from about:memory didn't help. And I am on Adrian version of x64 2.50 (build 20170314090913). I have to say it's not as leaky/bad as 2.49 and prior but certainly it works its way up to what seems like a memory leak.
_______________________________________________
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to