Open Bug 1192209 Opened 9 years ago Updated 4 years ago

High memory usage (1GB) and Thunderbird delays with periodic ics calendar refreshes without offline support

Categories

(Calendar :: Provider: ICS/WebDAV, defect)

Lightning 4.0.1.2
x86_64
Windows 7
defect
Not set
major

Tracking

(Not tracked)

People

(Reporter: henkel, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: memory-leak, perf, Whiteboard: [has str][dupme?])

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0 Build ID: 20150630154324 Steps to reproduce: Setting up multible Calender on SMB2-Shares and let them refresh in a 60 seconds interval. Actual results: The Memory usage goes up for about 30MB per refresh-run and could end up by 1GB and more. Without Calender, Thunderbird is at ~240MB, even after Hours. Thunderbird stops to respond for 0.5 ms - 3 seconds, when its refreshing the Calender.
OS: Unspecified → Windows 7
Hardware: Unspecified → x86_64
Severity: normal → major
Keywords: perf
Do you have calendar.icaljs enabled (->config editor)? If not, does enabling it make the memory issue (not the irresponsiveness) go away? Is offline support enabled for that calendars? How many events do the calendars have, what time range (first to last event) do they cover and do you have (many) recurring events in that calendars? Beside of that, what is your use case to do such a frequent refresh on ics calendars on a network share?
Flags: needinfo?(henkel)
Confirming to happen (also) on Daily in a similar setup with both libical and icaljs. STR: - setup a new profile - have no email configured or disabled email sync - setup an ics calendar without offline support (tested with [1]) - set refresh period to every minute - wait and observe memory consumption of TB [1] http://mozorg.cdn.mozilla.net/media/caldata/GermanHolidays.ics
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(henkel)
Wow, 30mb is leaking a lot. Can you take a look at about:memory to see which values are going up?
CalenderIcal.js is disabled. The User got 10 Calender with Entrys from 2006-2016. I cant see the overall Number of Entrys, sorry. Its with Birthdays, monthly and weekly Events Offline support is Disabled for all Calender. Its a Personal-Manager, for him is a 30 Minute refreshtime a Horroscene, because he could book meetings and vacation-time, without knowing if any other Termin had changed. I dont find a way to open about:memory in Thunderbird, sorry.
To open about:memory, you need to go into the error console and enter openDialog("about:memory"); in the code bar and press enter. If you can generate a report before and after a refresh and attach them here, that would be great! Before you do the refresh and generate the report, please click the "minimize memory usage" button once. A 30 minute refresh run is much more than you mentioned in comment 0, there it is "just" ~3 seconds per calendar. In addition to the memory report, maybe we should do some performance profiling. This is a bit harder to set up though, you would need to follow the guide at https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugging/Thunderbird to set up remote debugging and can then open the performance tab to capture what is happening during a refresh. Just out of curiosity, have you considered migrating to a caldav calendar? These are much better equipped to handle large calendars because instead of replacing all events in the calendar and overwriting them with the refreshed events, it will only download changed events.
I messured the Memoryusage on my Client, after the Start of Thunderbird and after a manual sync of my Calender. I have less Calender on my Client, then the Personalguy has, but you might see something here. Here is the Diff .. 76.82 MB (100.0%) -- explicit β”œβ”€β”€24.37 MB (31.72%) -- window-objects β”‚ β”œβ”€β”€25.51 MB (33.21%) -- top(chrome://messenger/content/messenger.xul, id=NNN) β”‚ β”‚ β”œβ”€β”€21.70 MB (28.24%) -- active/window(chrome://messenger/content/messenger.xul) β”‚ β”‚ β”‚ β”œβ”€β”€16.95 MB (22.06%) -- js-compartment([System Principal], about:blank) β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€11.14 MB (14.50%) -- classes β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€β”€3.34 MB (04.34%) -- class(With) β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€1.91 MB (02.48%) ── shapes/gc-heap/tree β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └──1.43 MB (01.86%) ── objects/gc-heap β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€β”€2.45 MB (03.19%) -- class(WithTemplate) β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€2.45 MB (03.19%) ── objects/gc-heap β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └──0.00 MB (00.00%) ++ shapes/gc-heap β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€β”€2.28 MB (02.97%) -- class(Iterator) β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€2.28 MB (02.97%) -- objects β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€1.48 MB (01.93%) -- malloc-heap β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€1.48 MB (01.93%) ── misc [+] β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └──0.00 MB (00.00%) ── slots [+] β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └──0.80 MB (01.04%) ── gc-heap [+] β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └──0.00 MB (00.00%) ++ shapes β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€β”€1.91 MB (02.49%) ++ (14 tiny) β”‚ β”‚ β”‚ β”‚ β”‚ └───1.15 MB (01.50%) -- class(XPCWrappedNative_NoHelper) β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€1.13 MB (01.47%) -- objects β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€1.13 MB (01.47%) ── gc-heap β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └──0.00 MB (00.00%) ── malloc-heap/slots β”‚ β”‚ β”‚ β”‚ β”‚ └──0.02 MB (00.03%) ++ shapes β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€β”€3.77 MB (04.90%) ── compartment-tables β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€β”€1.15 MB (01.49%) -- scripts β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€1.10 MB (01.44%) ── gc-heap β”‚ β”‚ β”‚ β”‚ β”‚ └──0.04 MB (00.06%) ── malloc-heap/data β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€β”€0.83 MB (01.08%) ++ baseline β”‚ β”‚ β”‚ β”‚ └───0.07 MB (00.09%) ++ (3 tiny) β”‚ β”‚ β”‚ β”œβ”€β”€β”€4.67 MB (06.08%) -- dom β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€4.66 MB (06.06%) ── orphan-nodes β”‚ β”‚ β”‚ β”‚ └──0.01 MB (00.02%) ++ (2 tiny) β”‚ β”‚ β”‚ └───0.08 MB (00.11%) ++ (2 tiny) β”‚ β”‚ └───3.82 MB (04.97%) -- js-zone(0xNNN) β”‚ β”‚ β”œβ”€β”€4.19 MB (05.46%) -- strings β”‚ β”‚ β”‚ β”œβ”€β”€3.04 MB (03.95%) -- malloc-heap β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€2.62 MB (03.41%) ── latin1 β”‚ β”‚ β”‚ β”‚ └──0.41 MB (00.54%) ── two-byte β”‚ β”‚ β”‚ └──1.16 MB (01.51%) -- gc-heap β”‚ β”‚ β”‚ β”œβ”€β”€0.95 MB (01.24%) ── latin1 β”‚ β”‚ β”‚ └──0.21 MB (00.27%) ── two-byte β”‚ β”‚ β”œβ”€β”€-2.56 MB (-3.33%) ── unused-gc-things β”‚ β”‚ β”œβ”€β”€1.90 MB (02.47%) ── object-groups/gc-heap β”‚ β”‚ └──0.28 MB (00.36%) ++ (5 tiny) β”‚ └──-1.14 MB (-1.49%) -- top(about:memory, id=NNN) β”‚ β”œβ”€β”€-1.14 MB (-1.49%) -- active/window(about:memory) β”‚ β”‚ β”œβ”€β”€-1.06 MB (-1.38%) -- dom β”‚ β”‚ β”‚ β”œβ”€β”€β”€7.97 MB (10.37%) ── orphan-nodes [+] β”‚ β”‚ β”‚ β”œβ”€β”€-5.31 MB (-6.91%) ── element-nodes β”‚ β”‚ β”‚ β”œβ”€β”€-2.66 MB (-3.46%) ── text-nodes β”‚ β”‚ β”‚ └──-1.06 MB (-1.38%) ── other [2] β”‚ β”‚ └──-0.08 MB (-0.11%) ++ (2 tiny) β”‚ └──-0.00 MB (-0.00%) ++ js-zone(0xNNN) β”œβ”€β”€22.19 MB (28.89%) -- js-non-window β”‚ β”œβ”€β”€24.72 MB (32.19%) -- runtime β”‚ β”‚ β”œβ”€β”€23.10 MB (30.07%) -- gc β”‚ β”‚ β”‚ β”œβ”€β”€13.00 MB (16.92%) ── nursery-committed β”‚ β”‚ β”‚ β”œβ”€β”€β”€9.91 MB (12.91%) ── nursery-huge-slots β”‚ β”‚ β”‚ └───0.19 MB (00.24%) ++ store-buffer β”‚ β”‚ β”œβ”€β”€β”€1.25 MB (01.63%) -- code β”‚ β”‚ β”‚ β”œβ”€β”€0.90 MB (01.18%) ── baseline β”‚ β”‚ β”‚ └──0.35 MB (00.45%) ++ (4 tiny) β”‚ β”‚ └───0.37 MB (00.49%) ++ (3 tiny) β”‚ β”œβ”€β”€-2.52 MB (-3.28%) -- zones/zone(0xNNN) β”‚ β”‚ β”œβ”€β”€-10.55 MB (-13.73%) ── unused-gc-things [3] β”‚ β”‚ β”œβ”€β”€β”€5.57 MB (07.25%) -- strings β”‚ β”‚ β”‚ β”œβ”€β”€3.87 MB (05.04%) -- malloc-heap β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€3.86 MB (05.02%) ── latin1 [2] β”‚ β”‚ β”‚ β”‚ └──0.01 MB (00.02%) ── two-byte β”‚ β”‚ β”‚ └──1.70 MB (02.21%) -- gc-heap β”‚ β”‚ β”‚ β”œβ”€β”€1.59 MB (02.06%) ── latin1 [2] β”‚ β”‚ β”‚ └──0.11 MB (00.15%) ── two-byte [2] β”‚ β”‚ β”œβ”€β”€β”€1.50 MB (01.95%) ++ compartment([System Principal], resource://gre/modules/XPCOMUtils.jsm) β”‚ β”‚ └───0.97 MB (01.26%) ++ (29 tiny) β”‚ └──-0.02 MB (-0.02%) ── gc-heap/unused-arenas β”œβ”€β”€21.35 MB (27.79%) ── heap-unclassified β”œβ”€β”€-20.57 MB (-26.78%) -- heap-overhead β”‚ β”œβ”€β”€-19.21 MB (-25.01%) ── bin-unused β”‚ β”œβ”€β”€β”€-1.68 MB (-2.19%) ── page-cache β”‚ └────0.33 MB (00.42%) ── bookkeeping β”œβ”€β”€17.18 MB (22.37%) -- xpconnect β”‚ β”œβ”€β”€16.71 MB (21.75%) ── scopes β”‚ └───0.47 MB (00.61%) ++ (2 tiny) β”œβ”€β”€12.56 MB (16.35%) -- add-ons/{e2fda1a4-762b-4020-b5ad-a41df1933103}/js-non-window/zones/zone(0xNNN) β”‚ β”œβ”€β”€β”€4.34 MB (05.65%) -- compartment([System Principal], file://<anonymized>/calItemModule.js) β”‚ β”‚ β”œβ”€β”€3.94 MB (05.13%) -- classes β”‚ β”‚ β”‚ β”œβ”€β”€1.55 MB (02.01%) -- class(XPCWrappedNative_NoHelper) β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€1.55 MB (02.01%) ── objects/gc-heap β”‚ β”‚ β”‚ β”‚ └──0.00 MB (00.00%) ── shapes/gc-heap/tree β”‚ β”‚ β”‚ β”œβ”€β”€0.87 MB (01.13%) -- class(XPCOutParam) β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€0.87 MB (01.13%) ++ objects β”‚ β”‚ β”‚ β”‚ └──0.00 MB (00.00%) ++ shapes/gc-heap β”‚ β”‚ β”‚ β”œβ”€β”€0.80 MB (01.04%) -- class(Iterator) β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€0.80 MB (01.04%) ++ objects β”‚ β”‚ β”‚ β”‚ └──0.00 MB (00.00%) ++ shapes β”‚ β”‚ β”‚ └──0.72 MB (00.94%) ++ (6 tiny) β”‚ β”‚ └──0.40 MB (00.52%) ++ (5 tiny) β”‚ β”œβ”€β”€β”€3.61 MB (04.71%) -- compartment([System Principal], resource://calendar/modules/calUtils.jsm) β”‚ β”‚ β”œβ”€β”€3.28 MB (04.28%) -- classes β”‚ β”‚ β”‚ β”œβ”€β”€3.06 MB (03.98%) -- class(XPCWrappedNative_NoHelper) β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€3.04 MB (03.96%) -- objects β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€3.04 MB (03.96%) ── gc-heap [+] β”‚ β”‚ β”‚ β”‚ β”‚ └──0.00 MB (00.00%) ── malloc-heap/slots β”‚ β”‚ β”‚ β”‚ └──0.01 MB (00.02%) ++ shapes β”‚ β”‚ β”‚ └──0.22 MB (00.29%) ++ (6 tiny) β”‚ β”‚ └──0.33 MB (00.43%) ++ (4 tiny) β”‚ β”œβ”€β”€β”€1.60 MB (02.08%) ++ compartment([System Principal], file://<anonymized>/calICSCalendar.js) β”‚ β”œβ”€β”€β”€1.44 MB (01.88%) -- compartment([System Principal], resource://calendar/modules/calProviderUtils.jsm) β”‚ β”‚ β”œβ”€β”€1.00 MB (01.30%) ── cross-compartment-wrapper-table [+] β”‚ β”‚ └──0.44 MB (00.57%) ++ (5 tiny) β”‚ β”œβ”€β”€β”€0.79 MB (01.03%) ++ compartment([System Principal], resource://calendar/modules/calIteratorUtils.jsm) β”‚ └───0.77 MB (01.00%) ++ (7 tiny) └──-0.26 MB (-0.34%) ++ (6 tiny) Other Measurements 0.00 MB (100.0%) -- address-space β”œβ”€β”€43.95 MB (100.0%) -- commit/private β”‚ β”œβ”€β”€42.70 MB (100.0%) ── readwrite [1240] β”‚ β”œβ”€β”€β”€1.31 MB (100.0%) ── execute-readwrite [29] β”‚ β”œβ”€β”€-0.04 MB (100.0%) ── readwrite (stack) [144] β”‚ └──-0.04 MB (100.0%) ── readwrite+guard [144] β”œβ”€β”€-23.69 MB (100.0%) ── reserved/private [1095] └──-20.25 MB (100.0%) ── free [389] -24.74 MB (100.0%) -- decommitted └──-24.74 MB (100.0%) -- js-non-window β”œβ”€β”€-13.00 MB (52.54%) ── runtime/gc/nursery-decommitted └──-11.74 MB (47.46%) ── gc-heap/decommitted-arenas -2,528 (100.0%) -- event-counts └──-2,528 (100.0%) ── window-objects/top(about:memory, id=45)/active/window(about:memory)/dom/event-listeners 0.00 MB (100.0%) -- images └──0.00 MB (100.0%) ── chrome/vector/used/decoded-heap 55.51 MB (100.0%) -- js-main-runtime β”œβ”€β”€31.59 MB (56.91%) -- compartments β”‚ β”œβ”€β”€23.18 MB (41.76%) -- classes β”‚ β”‚ β”œβ”€β”€20.77 MB (37.42%) -- objects β”‚ β”‚ β”‚ β”œβ”€β”€16.47 MB (29.66%) ── gc-heap β”‚ β”‚ β”‚ └───4.31 MB (07.76%) -- malloc-heap β”‚ β”‚ β”‚ β”œβ”€β”€3.36 MB (06.05%) ── misc β”‚ β”‚ β”‚ β”œβ”€β”€0.92 MB (01.65%) ── slots β”‚ β”‚ β”‚ └──0.03 MB (00.05%) ── elements/non-asm.js β”‚ β”‚ └───2.41 MB (04.35%) -- shapes β”‚ β”‚ β”œβ”€β”€2.31 MB (04.17%) -- gc-heap β”‚ β”‚ β”‚ β”œβ”€β”€2.07 MB (03.73%) ── tree β”‚ β”‚ β”‚ └──0.24 MB (00.44%) ++ (2 tiny) β”‚ β”‚ └──0.10 MB (00.18%) ++ malloc-heap β”‚ β”œβ”€β”€β”€3.87 MB (06.98%) ── compartment-tables β”‚ β”œβ”€β”€β”€1.59 MB (02.87%) ── cross-compartment-wrapper-table β”‚ β”œβ”€β”€β”€1.57 MB (02.82%) -- baseline β”‚ β”‚ β”œβ”€β”€1.11 MB (02.00%) ── fallback-stubs β”‚ β”‚ └──0.45 MB (00.82%) ── data β”‚ β”œβ”€β”€β”€1.15 MB (02.07%) -- scripts β”‚ β”‚ β”œβ”€β”€1.10 MB (01.99%) ── gc-heap β”‚ β”‚ └──0.04 MB (00.08%) ── malloc-heap/data β”‚ └───0.23 MB (00.41%) ++ (3 tiny) β”œβ”€β”€24.72 MB (44.54%) ── runtime β”œβ”€β”€-0.79 MB (-1.42%) -- zones β”‚ β”œβ”€β”€-13.11 MB (-23.61%) ── unused-gc-things β”‚ β”œβ”€β”€β”€9.76 MB (17.59%) -- strings β”‚ β”‚ β”œβ”€β”€6.91 MB (12.44%) -- malloc-heap β”‚ β”‚ β”‚ β”œβ”€β”€6.48 MB (11.68%) ── latin1 β”‚ β”‚ β”‚ └──0.43 MB (00.77%) ── two-byte β”‚ β”‚ └──2.86 MB (05.14%) -- gc-heap β”‚ β”‚ β”œβ”€β”€2.54 MB (04.57%) ── latin1 β”‚ β”‚ └──0.32 MB (00.57%) ── two-byte β”‚ β”œβ”€β”€β”€1.94 MB (03.50%) -- object-groups β”‚ β”‚ β”œβ”€β”€1.94 MB (03.50%) ── gc-heap β”‚ β”‚ └──0.00 MB (00.00%) ── malloc-heap β”‚ └───0.61 MB (01.10%) ++ (4 tiny) └──-0.02 MB (-0.03%) ── gc-heap/unused-arenas 11.74 MB (100.0%) -- js-main-runtime-gc-heap-committed β”œβ”€β”€24.87 MB (211.76%) -- used β”‚ β”œβ”€β”€24.79 MB (211.12%) -- gc-things β”‚ β”‚ β”œβ”€β”€16.47 MB (140.23%) ── objects β”‚ β”‚ β”œβ”€β”€β”€2.86 MB (24.32%) ── strings β”‚ β”‚ β”œβ”€β”€β”€2.23 MB (18.96%) ── shapes β”‚ β”‚ β”œβ”€β”€β”€1.94 MB (16.55%) ── object-groups β”‚ β”‚ β”œβ”€β”€β”€1.10 MB (09.40%) ── scripts β”‚ β”‚ └───0.19 MB (01.65%) ++ (2 tiny) β”‚ └───0.08 MB (00.64%) ── arena-admin └──-13.12 MB (-111.76%) -- unused β”œβ”€β”€-13.11 MB (-111.63%) -- gc-things β”‚ β”œβ”€β”€β”€-9.88 MB (-84.11%) ── objects β”‚ β”œβ”€β”€β”€-1.76 MB (-14.99%) ── strings β”‚ β”œβ”€β”€β”€-0.65 MB (-5.54%) ── shapes β”‚ β”œβ”€β”€β”€-0.51 MB (-4.33%) ── object-groups β”‚ β”œβ”€β”€β”€-0.24 MB (-2.07%) ── scripts β”‚ └───-0.07 MB (-0.59%) ++ (2 tiny) └───-0.02 MB (-0.13%) ── arenas 3 (100.0%) -- observer-service └──3 (100.0%) ── referent/strong 3 (100.0%) -- observer-service-suspect β”œβ”€β”€2 (66.67%) ── referent(topic=xpcom-shutdown) └──1 (33.33%) ── referent(topic=memory-pressure) 3.60 MB (100.0%) -- window-objects β”œβ”€β”€3.60 MB (99.99%) -- dom β”‚ β”œβ”€β”€12.62 MB (350.20%) ── orphan-nodes β”‚ β”œβ”€β”€-5.30 MB (-146.93%) ── element-nodes β”‚ β”œβ”€β”€-2.66 MB (-73.78%) ── text-nodes β”‚ └──-1.06 MB (-29.51%) ── other β”œβ”€β”€-0.02 MB (-0.53%) -- layout β”‚ β”œβ”€β”€-0.10 MB (-2.68%) ── text-runs β”‚ β”œβ”€β”€β”€0.04 MB (01.17%) ── pres-shell β”‚ └───0.04 MB (00.98%) ++ (3 tiny) └──0.02 MB (00.54%) ── property-tables 0.45 MB ── gfx-surface-win32 61.48 MB ── heap-allocated 20 ── heap-chunks 60.12 MB ── heap-committed 20.00 MB ── heap-mapped -2.79% ── heap-overhead-ratio 0.00 MB ── imagelib-surface-cache-estimated-total 42.79 MB ── private 48.32 MB ── resident 20.21 MB ── vsize End of Main Process (pid NNN) The Calender-Files are not big, we have 21 Files, together 2MB. Its no 30 Minute refreshrun, its 30 Minutes between the Refresh, that he dont want.
Hi, nothing new, Thunderbird uses 1GB and Freezes the PC by serveral Users. Here is the Memoryallocation from Today .. Explicit Allocations 823.65 MB (100.0%) -- explicit β”œβ”€β”€558.16 MB (67.77%) -- window-objects β”‚ β”œβ”€β”€550.61 MB (66.85%) -- top(chrome://messenger/content/messenger.xul, id=3) β”‚ β”‚ β”œβ”€β”€517.63 MB (62.85%) -- active β”‚ β”‚ β”‚ β”œβ”€β”€516.55 MB (62.72%) -- window(chrome://messenger/content/messenger.xul) β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€279.84 MB (33.98%) -- dom β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€278.89 MB (33.86%) ── orphan-nodes β”‚ β”‚ β”‚ β”‚ β”‚ └────0.95 MB (00.11%) ++ (4 tiny) β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€231.91 MB (28.16%) -- js-compartment([System Principal], about:blank) β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€132.39 MB (16.07%) -- classes β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€β”€65.30 MB (07.93%) -- class(With) β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€43.54 MB (05.29%) ── objects/gc-heap β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └──21.77 MB (02.64%) -- shapes/gc-heap β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€21.77 MB (02.64%) ── tree β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └───0.00 MB (00.00%) ── base β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€β”€29.02 MB (03.52%) -- class(WithTemplate) β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€29.02 MB (03.52%) ── objects/gc-heap β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └───0.00 MB (00.00%) ++ shapes/gc-heap β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€β”€21.76 MB (02.64%) -- class(XULElement) β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€14.73 MB (01.79%) -- objects β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€11.19 MB (01.36%) ── gc-heap β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └───3.54 MB (00.43%) ── malloc-heap/slots β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └───7.04 MB (00.85%) ++ shapes β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€β”€12.87 MB (01.56%) -- class(Function) β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€12.83 MB (01.56%) -- objects β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€12.81 MB (01.56%) ── gc-heap β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └───0.01 MB (00.00%) ── malloc-heap/slots β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └───0.05 MB (00.01%) ++ shapes β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └────3.42 MB (00.42%) ++ (11 tiny) β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€β”€64.03 MB (07.77%) ── compartment-tables β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€β”€35.25 MB (04.28%) -- scripts β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€32.48 MB (03.94%) ── gc-heap β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └───2.78 MB (00.34%) ── malloc-heap/data β”‚ β”‚ β”‚ β”‚ β”‚ └────0.24 MB (00.03%) ++ (3 tiny) β”‚ β”‚ β”‚ β”‚ └────4.80 MB (00.58%) ++ (3 tiny) β”‚ β”‚ β”‚ └────1.07 MB (00.13%) ++ (2 tiny) β”‚ β”‚ └───32.98 MB (04.00%) -- js-zone(0xbe85c00) β”‚ β”‚ β”œβ”€β”€25.86 MB (03.14%) ── object-groups/gc-heap β”‚ β”‚ └───7.12 MB (00.86%) ++ (6 tiny) β”‚ └────7.55 MB (00.92%) ++ (10 tiny) β”œβ”€β”€100.11 MB (12.15%) ── heap-unclassified β”œβ”€β”€β”€40.85 MB (04.96%) -- js-non-window β”‚ β”œβ”€β”€25.65 MB (03.11%) -- zones β”‚ β”‚ β”œβ”€β”€22.84 MB (02.77%) ++ zone(0x22cbc00) β”‚ β”‚ └───2.80 MB (00.34%) ++ (8 tiny) β”‚ β”œβ”€β”€10.88 MB (01.32%) ++ runtime β”‚ └───4.32 MB (00.53%) ++ gc-heap β”œβ”€β”€β”€37.78 MB (04.59%) -- heap-overhead β”‚ β”œβ”€β”€25.35 MB (03.08%) ── bin-unused β”‚ β”œβ”€β”€β”€8.92 MB (01.08%) ── bookkeeping β”‚ └───3.51 MB (00.43%) ++ (2 tiny) β”œβ”€β”€β”€35.85 MB (04.35%) ++ (20 tiny) β”œβ”€β”€β”€28.21 MB (03.43%) -- xpconnect β”‚ β”œβ”€β”€24.33 MB (02.95%) ── runtime β”‚ └───3.88 MB (00.47%) ++ (4 tiny) β”œβ”€β”€β”€11.84 MB (01.44%) ++ storage/sqlite └───10.85 MB (01.32%) -- gfx β”œβ”€β”€β”€8.27 MB (01.00%) ── heap-textures └───2.58 MB (00.31%) ++ (5 tiny) Other Measurements 4,095.94 MB (100.0%) -- address-space β”œβ”€β”€2,671.21 MB (65.22%) ── free [436] β”œβ”€β”€1,094.17 MB (26.71%) -- commit β”‚ β”œβ”€β”€β”€β”€917.27 MB (22.39%) -- private β”‚ β”‚ β”œβ”€β”€905.40 MB (22.10%) ── readwrite [935] β”‚ β”‚ └───11.87 MB (00.29%) ++ (6 tiny) β”‚ β”œβ”€β”€β”€β”€136.27 MB (03.33%) -- image β”‚ β”‚ β”œβ”€β”€β”€82.96 MB (02.03%) ── execute-read [163] β”‚ β”‚ β”œβ”€β”€β”€49.44 MB (01.21%) ── readonly [361] β”‚ β”‚ └────3.88 MB (00.09%) ++ (2 tiny) β”‚ └─────40.63 MB (00.99%) ++ mapped └────330.55 MB (08.07%) -- reserved β”œβ”€β”€306.86 MB (07.49%) ── private [314] └───23.70 MB (00.58%) ++ (2 tiny) 23.73 MB (100.0%) -- decommitted β”œβ”€β”€22.34 MB (94.14%) -- js-non-window β”‚ β”œβ”€β”€15.00 MB (63.22%) ── runtime/gc/nursery-decommitted β”‚ └───7.34 MB (30.92%) ── gc-heap/decommitted-arenas └───1.39 MB (05.86%) -- workers/workers(chrome) β”œβ”€β”€0.78 MB (03.28%) -- worker(resource:///modules/attachmentChecker.js, 0x1359ec00) β”‚ β”œβ”€β”€0.78 MB (03.28%) ── gc-heap/decommitted-arenas β”‚ └──0.00 MB (00.00%) ── runtime/gc/nursery-decommitted └──0.61 MB (02.58%) -- worker(resource://gre/modules/osfile/osfile_async_worker.js, 0xd7b7400) β”œβ”€β”€0.61 MB (02.58%) ── gc-heap/decommitted-arenas └──0.00 MB (00.00%) ── runtime/gc/nursery-decommitted 3,914 (100.0%) -- event-counts └──3,914 (100.0%) -- window-objects β”œβ”€β”€2,886 (73.74%) -- top(chrome://messenger/content/messenger.xul, id=3)/active β”‚ β”œβ”€β”€2,823 (72.13%) -- window(chrome://messenger/content/messenger.xul)/dom β”‚ β”‚ β”œβ”€β”€2,820 (72.05%) ── event-listeners β”‚ β”‚ └──────3 (00.08%) ── event-targets β”‚ β”œβ”€β”€β”€β”€β”€53 (01.35%) -- window(chrome://messenger/content/msgAccountCentral.xul)/dom β”‚ β”‚ β”œβ”€β”€51 (01.30%) ── event-listeners β”‚ β”‚ └───2 (00.05%) ── event-targets β”‚ └─────10 (00.26%) ++ window(about:blank)/dom β”œβ”€β”€β”€β”€875 (22.36%) -- top(chrome://messenger/content/messengercompose/messengercompose.xul, id=38)/active β”‚ β”œβ”€β”€873 (22.30%) -- window(chrome://messenger/content/messengercompose/messengercompose.xul)/dom β”‚ β”‚ β”œβ”€β”€869 (22.20%) ── event-listeners β”‚ β”‚ └────4 (00.10%) ── event-targets β”‚ └────2 (00.05%) ── window(about:blank)/dom/event-targets [2] β”œβ”€β”€β”€β”€β”€83 (02.12%) ++ (8 tiny) └─────70 (01.79%) -- top(chrome://global/content/console.xul, id=199)/active β”œβ”€β”€66 (01.69%) -- window(chrome://global/content/console.xul)/dom β”‚ β”œβ”€β”€63 (01.61%) ── event-listeners β”‚ └───3 (00.08%) ── event-targets └───4 (00.10%) ++ window(javascript:%20openDialog("about:memory"))/dom 1.67 MB (100.0%) -- images β”œβ”€β”€1.62 MB (96.85%) -- chrome β”‚ β”œβ”€β”€1.15 MB (68.60%) -- raster/used β”‚ β”‚ β”œβ”€β”€0.91 MB (54.50%) ── decoded-heap β”‚ β”‚ └──0.24 MB (14.11%) ── source β”‚ └──0.47 MB (28.25%) ── vector/used/source β”œβ”€β”€0.03 MB (02.04%) -- uncached/raster/used β”‚ β”œβ”€β”€0.03 MB (01.61%) ── decoded-heap β”‚ └──0.01 MB (00.43%) ── source └──0.02 MB (01.11%) ++ content/raster/used 317.66 MB (100.0%) -- js-main-runtime β”œβ”€β”€257.34 MB (81.01%) -- compartments β”‚ β”œβ”€β”€152.06 MB (47.87%) -- classes β”‚ β”‚ β”œβ”€β”€116.90 MB (36.80%) -- objects β”‚ β”‚ β”‚ β”œβ”€β”€109.71 MB (34.54%) ── gc-heap β”‚ β”‚ β”‚ └────7.19 MB (02.26%) -- malloc-heap β”‚ β”‚ β”‚ β”œβ”€β”€7.03 MB (02.21%) ── slots β”‚ β”‚ β”‚ └──0.15 MB (00.05%) ++ (2 tiny) β”‚ β”‚ └───35.16 MB (11.07%) -- shapes β”‚ β”‚ β”œβ”€β”€30.82 MB (09.70%) -- gc-heap β”‚ β”‚ β”‚ β”œβ”€β”€25.00 MB (07.87%) ── tree β”‚ β”‚ β”‚ β”œβ”€β”€β”€3.49 MB (01.10%) ── dict β”‚ β”‚ β”‚ └───2.34 MB (00.74%) ── base β”‚ β”‚ └───4.33 MB (01.36%) ++ malloc-heap β”‚ β”œβ”€β”€β”€65.36 MB (20.57%) ── compartment-tables β”‚ β”œβ”€β”€β”€38.61 MB (12.16%) -- scripts β”‚ β”‚ β”œβ”€β”€35.18 MB (11.08%) ── gc-heap β”‚ β”‚ └───3.43 MB (01.08%) ── malloc-heap/data β”‚ └────1.31 MB (00.41%) ++ (6 tiny) β”œβ”€β”€β”€45.12 MB (14.20%) -- zones β”‚ β”œβ”€β”€26.53 MB (08.35%) -- object-groups β”‚ β”‚ β”œβ”€β”€26.50 MB (08.34%) ── gc-heap β”‚ β”‚ └───0.02 MB (00.01%) ── malloc-heap β”‚ β”œβ”€β”€12.35 MB (03.89%) ── unused-gc-things β”‚ β”œβ”€β”€β”€4.09 MB (01.29%) ++ strings β”‚ └───2.15 MB (00.68%) ++ (6 tiny) β”œβ”€β”€β”€10.88 MB (03.43%) ── runtime └────4.32 MB (01.36%) -- gc-heap β”œβ”€β”€3.59 MB (01.13%) ── chunk-admin └──0.73 MB (00.23%) ++ (2 tiny) 290 (100.0%) -- js-main-runtime-compartments β”œβ”€β”€276 (95.17%) -- system β”‚ β”œβ”€β”€259 (89.31%) ++ (259 tiny) β”‚ β”œβ”€β”€β”€13 (04.48%) ── [System Principal], about:blank [13] β”‚ └────4 (01.38%) ── [System Principal], inProcessTabChildGlobal?ownedBy=chrome://messenger/content/messenger.xul [4] └───14 (04.83%) -- user β”œβ”€β”€β”€6 (02.07%) ── [Expanded Principal] [6] β”œβ”€β”€β”€4 (01.38%) ++ (4 tiny) └───4 (01.38%) ── about:blank [4] 222.66 MB (100.0%) -- js-main-runtime-gc-heap-committed β”œβ”€β”€209.58 MB (94.12%) -- used β”‚ β”œβ”€β”€204.43 MB (91.81%) -- gc-things β”‚ β”‚ β”œβ”€β”€109.71 MB (49.27%) ── objects β”‚ β”‚ β”œβ”€β”€β”€35.18 MB (15.80%) ── scripts β”‚ β”‚ β”œβ”€β”€β”€28.48 MB (12.79%) ── shapes β”‚ β”‚ β”œβ”€β”€β”€26.50 MB (11.90%) ── object-groups β”‚ β”‚ β”œβ”€β”€β”€β”€2.34 MB (01.05%) ── base-shapes β”‚ β”‚ └────2.21 MB (00.99%) ++ (4 tiny) β”‚ β”œβ”€β”€β”€β”€3.59 MB (01.61%) ── chunk-admin β”‚ └────1.56 MB (00.70%) ── arena-admin └───13.08 MB (05.88%) -- unused β”œβ”€β”€12.35 MB (05.55%) -- gc-things β”‚ β”œβ”€β”€β”€5.52 MB (02.48%) ── objects β”‚ β”œβ”€β”€β”€4.32 MB (01.94%) ++ (7 tiny) β”‚ └───2.51 MB (01.13%) ── shapes └───0.73 MB (00.33%) ++ (2 tiny) 0 (100.0%) -- low-memory-events β”œβ”€β”€0 (100.0%) ── physical └──0 (100.0%) ── virtual 28 (100.0%) -- message-manager └──28 (100.0%) -- referent β”œβ”€β”€14 (50.00%) -- global-manager β”‚ β”œβ”€β”€14 (50.00%) ── strong β”‚ └───0 (00.00%) ++ weak └──14 (50.00%) -- parent-process-manager β”œβ”€β”€14 (50.00%) ── strong └───0 (00.00%) ++ weak 938 (100.0%) -- observer-service └──938 (100.0%) -- referent β”œβ”€β”€737 (78.57%) ── strong └──201 (21.43%) -- weak β”œβ”€β”€200 (21.32%) ── alive └────1 (00.11%) ── dead 321 (100.0%) -- observer-service-suspect β”œβ”€β”€176 (54.83%) ── referent(topic=xpcom-shutdown) └──145 (45.17%) ── referent(topic=memory-pressure) 658 (100.0%) -- preference-service └──658 (100.0%) -- referent β”œβ”€β”€578 (87.84%) ── strong └───80 (12.16%) -- weak β”œβ”€β”€80 (12.16%) ── alive └───0 (00.00%) ── dead 288.76 MB (100.0%) -- window-objects β”œβ”€β”€280.48 MB (97.13%) -- dom β”‚ β”œβ”€β”€278.91 MB (96.59%) ── orphan-nodes β”‚ └────1.57 MB (00.54%) ++ (6 tiny) β”œβ”€β”€β”€β”€6.99 MB (02.42%) ++ layout └────1.30 MB (00.45%) ++ (2 tiny) 0.00 MB ── d3d11-shared-textures 0.00 MB ── d3d9-shared-texture 0.00 MB ── d3d9-shared-textures 0.00 MB ── d3d9-surface-image 0.00 MB ── gfx-d2d-surface-cache 0.00 MB ── gfx-d2d-surface-vram 0.00 MB ── gfx-d2d-vram-draw-target 0.00 MB ── gfx-d2d-vram-source-surface 38.08 MB ── gfx-surface-win32 0.00 MB ── gfx-textures 0.00 MB ── gfx-tiles-waste 0 ── ghost-windows 0.00 MB ── gpu-committed 0.00 MB ── gpu-dedicated 0.00 MB ── gpu-shared 556.25 MB ── heap-allocated 604 ── heap-chunks 1.00 MB ── heap-chunksize 568.68 MB ── heap-committed 604.00 MB ── heap-mapped 2.23% ── heap-overhead-ratio 0.87 MB ── imagelib-surface-cache-estimated-locked 0.87 MB ── imagelib-surface-cache-estimated-total 0.32 MB ── js-main-runtime-temporary-peak 0 ── low-commit-space-events 920.03 MB ── private 883.42 MB ── resident 1,407.77 MB ── vsize 1,805.94 MB ── vsize-max-contiguous
I was hitten by a performance problem (bug 1246390) and during my analysis I noticed that this performance problem was accompanied by a memory problem. My problem occurs without any network activities going on but seems to be triggered by redisplaying calendars. If I (un)check calendars then the calendar view is redisplayed. And syncing also triggers a redisplay of your calendar display. Have a look at the memory allocation henkel@smaract.de posted in september 2015. It says: 278.89 MB (33.86%) ── orphan-nodes That's exactly what I'm observing. Extreme amounts of orhan nodes within the DOM. In my case they are caused by (un)checking calendars, in this case regular syncs seem to cause them.
I just created bug 1246655 with detailled instructions on how to reproduce a similar problem with 10 local calendars and no sync operation.
Blocks: 441710
Summary: Memory usage → High memory usage (1GB) and Thunderbird delays with periodic ics calendar refreshes without offline support
Component: General → Provider: ICS/WebDAV
The following additional information is present in: * Lightning Bug [bug 1247178] * Thunderbird Bug [bug 942610] This (only) happens when the calendars are on a samba share. I know that Windows functions give wrong results for some file properties if the file is on a samba share, for example readability (which may be false even if an open would succeed). Maybee, this has an impact. THank you, Harald
Keywords: mlk
See Also: → 1246390
Whiteboard: [has str][dupme?]
You need to log in before you can comment on or make changes to this bug.