Closed Bug 1625089 Opened 5 years ago Closed 4 years ago

Thunderbird/Mac in startup eats gigabytes of memory until OOM and hangs (one pop account)

Categories

(Thunderbird :: General, defect)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: jhi, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: perf)

Attachments

(3 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36

Steps to reproduce:

Note: when the problem started I was using the beta branch, but now I forcefully downgraded to the release branch (which I assume is the 68), but the problem persists.

Up until say three weeks ago Thunderbird was working fine, but then it started hanging up, and the macOS task killer started coming up with "memory is gone", and it was always TB eating up gigabytes of memory. This happened a few times, while TB was still marginally usable, but now it has degraded into a state where TB either never comes up, eating all the memory, or it shortly comes up-- meaning the window gets started, and I get a few minutes of time to use it, but then the system grinds to a halt again.

Now I (as mentioned earlier, back at the latest release branch release, 68.6.0 I think), I tried starting it again, but the UI window has not come up yet, and according to top(1) it is chomping up my memory, now at 32GB and going up.

Actual results:

See above.

Wild hypothesizing: I do have a lot of local folders (that's the reason I am using TB...) so maybe it is doing some ambitious reindexing of the folders, and therefore eating memory like candy?

I should not have any especially gigantic emails like lots of big images or videos.

Expected results:

Thunderbird should not eat gigabytes of memory.

It would be nice to know what TB is trying to do. Is there a way get some logging information out of it?

This time it grew to 119 Gb before the macos Force Quit got tired of it. None of the other apps even breaches 1GB.

Please try starting Thunderbird in safe mode https://support.mozilla.org/en-US/kb/safe-mode-thunderbird

Flags: needinfo?(jhi)

Will try that.

But in the meanwhile, partial good news: as I was trying to bisect a little bit more when exactly this memory hogging started, I realized that the release Thunderbird 68.6.0 does NOT exhibit the bad behavior. So that is good news.

So I have now the 68.6.0 now running, with whatever extensions, haven't done anything explicit about them. Though I did start the currently running 68.6.0 manually with the spell

/Applications/Thunderbird.app/Contents/MacOS/thunderbird -P --allow-downgrade

It seems to be staying within sane limits, according to top about 570MB currently with my inbox.

I don't known if that disables something relevant (since I'd been running the beta channel up until last week, when the problem really got bad).

I will need to retrace my steps and install the beta alongside this one.

Flags: needinfo?(jhi)

aggressive indexing would/should not consume excessive memory.

two things to look at
tools > activity manager -- will provide some idea of what is running
help > troubleshooting > about:memory -- to show memory usage (although it isn't terribly reliable, and in high memory situations takes for ever to complete, IF it completes)

Severity: normal → critical
Keywords: perf

I found about the activity manager also from my "google research", but there is the problem that when this memory hogging starts, the UI side of Thunderbird becomes complete unresponsive.

Is there a way to enable some logging that would get out of the Thunderbird process? syslog? Especially if this is only a beta branch only problem, some developer debugging would not surprise me.

Ugh, now I am having trouble getting back to the beta releases because they insist on creating new profiles, which of course would not replicate my existing setup at all.

use startup switches
-P -allow-downgrade
And, if the issues is related to getting new mail the following might help
-offline

see https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options

Ok, managed to start 75.0b1 with my default profile (though it wanted to download some update and restart). Following what happens...

... and it went bad quickly (so my default profile, still using all the extensions). The UI went dead (the app window is not even coming up in the macos task manager!) so I cannot show you any activity monitor or about:memory. But I managed to start a shell watcher before it went bad:

while true
do
ps axug|grep Thunderbird|grep -v grep
sleep 5
done
jhi 23943 0.0 3.2 9273720 544964 s005 S 10:17AM 0:19.42 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
jhi 23943 0.0 3.2 9273720 544964 s005 S 10:17AM 0:19.42 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
jhi 23943 0.0 3.2 9273720 544964 s005 S 10:17AM 0:19.42 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
jhi 23943 3.9 3.4 9276892 575604 s005 S 10:17AM 0:19.79 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
jhi 23943 0.0 3.3 9275800 553308 s005 S 10:17AM 0:19.98 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
jhi 23943 6.0 3.4 9267884 571068 s005 R 10:17AM 0:20.39 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
jhi 23943 13.9 2.8 9277660 472312 s005 S 10:17AM 0:21.06 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
jhi 23943 24.8 2.7 9276936 454964 s005 S 10:17AM 0:21.57 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
jhi 23943 17.9 2.7 9277576 457640 s005 S 10:17AM 0:21.90 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
jhi 23943 19.5 2.9 9277232 482776 s005 S 10:17AM 0:22.29 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
jhi 25566 3.7 0.1 4970756 20912 ?? S 10:22AM 0:00.10 /Applications/Thunderbird-68.6.0.app/Contents/MacOS/thunderbird
jhi 23943 0.1 2.6 9274088 442200 s005 S 10:17AM 0:22.31 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
jhi 25566 49.5 0.5 7353152 80316 ?? S 10:22AM 0:00.51 /Applications/Thunderbird-68.6.0.app/Contents/MacOS/thunderbird
jhi 23943 0.2 2.6 9273504 433924 s005 S 10:17AM 0:22.32 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
jhi 23943 22.0 2.8 9276648 462436 s005 R 10:17AM 0:22.72 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
jhi 23943 0.0 2.6 9275660 442656 s005 S 10:17AM 0:22.86 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
jhi 23943 0.0 2.6 9273504 434356 s005 S 10:17AM 0:22.87 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
jhi 23943 0.0 2.6 9273504 434356 s005 S 10:17AM 0:22.87 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
jhi 23943 0.0 2.6 9273504 434356 s005 S 10:17AM 0:22.87 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
jhi 23943 100.0 3.5 9282800 587792 s005 R 10:17AM 0:27.47 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
jhi 23943 100.0 4.2 9332976 706412 s005 R 10:17AM 0:32.58 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
...
jhi 23943 100.0 13.3 11485400 2239316 s005 R 10:17AM 2:14.32 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
jhi 23943 99.3 13.1 11589848 2205680 s005 R 10:17AM 2:19.39 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
...
jhi 23943 100.0 19.0 13811928 3186320 s005 R 10:17AM 4:01.51 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
jhi 23943 99.1 18.1 13920472 3035764 s005 R 10:17AM 4:06.58 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground
jhi 23943 100.0 18.5 14035160 3098284 s005 R 10:17AM 4:11.68 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -foreground

The columns being:

ps axug|head -n 1
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND

So it's growing fast again.

Next I'll kill this and try the same without the extensions.

(note: in the above the stray pid 25566 was me mistakenly trying to start another TB)

The 75.0b2 now running with the -safe-node, so all the extensions disabled, following the situation.

I looked at my add-ons and I don't have many, only four:

  • AdBlock Plus version 2.9.1 (quite old: June 7, 2017, no idea what it hasn't updated)
  • Dropbox for FileLink version ...

HEY! now it went crazy again (the UI went dead, and the memory use started climbing, and CPU spiked).

(I will finish my report on the extensions once I regain control.... but there were only four of them, and all disabled anyway)

This was the happy state:

jhi 26838 0.0 4.4 9374652 738920 s007 S 10:34AM 0:12.48 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 6.8 4.5 9377388 757532 s007 S 10:34AM 0:12.71 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 0.0 4.4 9377036 738696 s007 S 10:34AM 0:12.95 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 8.8 4.5 9377404 757836 s007 R 10:34AM 0:13.19 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 1.4 4.4 9378680 739376 s007 S 10:34AM 0:13.36 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 0.1 4.5 9395316 747880 s007 S 10:34AM 0:13.95 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 1.3 4.8 9417804 804036 s007 S 10:34AM 0:14.72 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 0.0 3.3 9220116 557264 s007 S 10:34AM 0:14.90 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground

But then a bit later:

hi 26838 0.0 3.4 9215076 564440 s007 S 10:34AM 0:20.06 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 10.3 3.5 9210920 592772 s007 S 10:34AM 0:20.55 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 0.3 3.5 9210956 592832 s007 S 10:34AM 0:21.00 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 0.0 3.3 9208300 555352 s007 S 10:34AM 0:21.09 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 38.8 3.7 9239244 620124 s007 S 10:34AM 0:22.26 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 0.0 3.5 9237148 582712 s007 S 10:34AM 0:22.29 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 66.8 3.5 9210400 592808 s007 S 10:34AM 0:23.73 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 100.0 3.9 9219212 652580 s007 R 10:34AM 0:28.81 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 100.0 4.5 9286248 752464 s007 R 10:34AM 0:33.92 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 101.1 5.1 9389172 854048 s007 R 10:34AM 0:39.05 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 100.0 5.7 9491572 956940 s007 R 10:34AM 0:44.24 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 100.5 6.3 9595496 1059608 s007 R 10:34AM 0:49.35 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 100.1 6.9 9689704 1153572 s007 R 10:34AM 0:54.50 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 100.8 7.5 9791080 1254196 s007 R 10:34AM 0:59.62 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 100.0 8.1 9892456 1354472 s007 R 10:34AM 1:04.73 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 100.0 8.7 9993832 1456444 s007 R 10:34AM 1:09.84 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 99.9 9.2 10087016 1550620 s007 R 10:34AM 1:14.99 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 100.4 9.8 10186344 1648848 s007 R 10:34AM 1:20.13 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 99.0 10.4 10281576 1743136 s007 R 10:34AM 1:25.25 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 101.5 11.0 10375784 1838252 s007 R 10:34AM 1:30.37 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 100.0 11.5 10468968 1931292 s007 R 10:34AM 1:35.49 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 99.9 12.1 10562152 2023432 s007 R 10:34AM 1:40.63 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 100.0 12.6 10659432 2119832 s007 R 10:34AM 1:45.74 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
...
jhi 26838 99.8 24.9 12720744 4173756 s007 R 10:34AM 3:39.32 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 100.0 25.4 12817000 4269124 s007 R 10:34AM 3:44.43 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
jhi 26838 100.0 26.0 12914280 4365644 s007 R 10:34AM 3:49.54 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground

Oh I see. I now killed the wild 75.0b2 and started 68.6.0 also in safe mode, and it seems that almost all my extensions are incompatible even with 68.6.0, so maybe they are all effectively disabled anyway? So I have:

AdBlock Plus
DropBox for FileLink
Provider for Google Calendar (the only one NOT incompatible for 68.6.0!)
Remove Duplicate Messages

But back to the memory monster: so it seems very reproducible with the beta builds that a few minutes after starting, the CPU spikes, and TB starts consuming large amounts of memory, becoming completely unresponsive, not stopping until the macos task killer steps in.

Here is a new log of the run, I customized the ps format a little, the monitoring script is now:

while true
do
ps -ax -o ucomm,pid,state,pcpu,pmem,vsz,rss,start,etime,command|grep Thunderbird|grep -v grep
sleep 5
done

I just started the beta in the safe mode

/Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode

and then did nothing on the UI:

The boring start:

thunderbird 31585 R 7.0 0.1 4459452 18536 11:27AM 00:00 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 R 83.9 3.4 7486768 562984 11:27AM 00:05 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 S 0.9 4.4 9305720 734140 11:27AM 00:10 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 S 0.0 4.3 9295664 718592 11:27AM 00:15 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 S 0.0 4.3 9294588 718516 11:27AM 00:20 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 S 0.0 4.3 9294588 718516 11:27AM 00:25 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 S 0.0 4.3 9294320 718508 11:27AM 00:30 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 S 0.0 4.3 9294320 718508 11:27AM 00:35 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 S 0.1 4.3 9292004 717996 11:27AM 00:40 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 S 4.0 4.3 9292004 718004 11:27AM 00:45 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
...

Then things suddenly get interesting at 5 minute mark (hmm, I will repeat this to see if it is always five minutes):

thunderbird 31585 S 0.0 3.4 9160896 569340 11:27AM 04:58 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 R 100.0 4.2 9237276 706944 11:27AM 05:03 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 R 100.0 4.8 9340700 811268 11:27AM 05:08 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 R 100.0 5.5 9447172 918260 11:27AM 05:13 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 R 100.0 6.1 9552144 1023248 11:27AM 05:18 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 R 98.9 6.7 9661188 1131204 11:27AM 05:23 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 R 100.0 7.4 9770756 1240112 11:27AM 05:28 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 R 100.0 8.0 9871108 1340004 11:27AM 05:33 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 R 100.0 8.6 9971460 1439572 11:27AM 05:38 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 R 100.0 9.2 10075908 1541740 11:27AM 05:43 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 R 101.5 9.8 10180356 1647124 11:27AM 05:48 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 R 100.0 10.4 10277636 1744500 11:27AM 05:54 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
...
thunderbird 31585 R 100.0 18.0 16766724 3025304 11:27AM 11:38 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 R 100.0 18.6 16864004 3122200 11:27AM 11:43 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 R 100.0 19.2 16959236 3217624 11:27AM 11:48 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 R 100.0 19.0 17050372 3189068 11:27AM 11:53 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
thunderbird 31585 R 102.1 18.9 17140484 3175056 11:27AM 11:58 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode -foreground
...

(note on the above: even though the directory of the beta release is named "b1", the app managed to upgrade itself once, so it is now "b2")

New try, at 5 minute mark, boom:

thunderbird 33778 S 0.0 3.2 9164356 534964 11:42AM 04:52 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode
thunderbird 33778 S 0.0 3.2 9164356 534964 11:42AM 04:57 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode
thunderbird 33778 R 97.2 3.9 9196704 649320 11:42AM 05:02 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode
thunderbird 33778 R 100.0 4.5 9303200 756704 11:42AM 05:07 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode
thunderbird 33778 R 99.0 5.1 9406624 859020 11:42AM 05:12 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode
thunderbird 33778 R 100.0 5.8 9512596 966704 11:42AM 05:17 /Applications/Thunderbird-75.0b1.app/Contents/MacOS/thunderbird -P --allow-downgrade -safe-mode

I will attach the full log files shortly.

ps -ax -o ucomm,pid,state,pcpu,pmem,vsz,rss,start,etime,command output every 5 seconds from one run of 75.0b2 (the directory name is wrong)

ps -ax -o ucomm,pid,state,pcpu,pmem,vsz,rss,start,etime,command output every 5 seconds from 2nd run of 75.0b2 (the directory name is wrong)

Thinking back when did I first start noticing this, it was probably last week's Wednesday, the 18th of March. I remember restarting my beta channel Thunderbird due to it nagging about having an update, maybe that was the b2?

Looking back out my release history, 74.0b2 shipped on 2/28, 75.0b1 on 3/13, 75.0b2 just yesterday 2/26

Component: Untriaged → General

So maybe it was the 75.b01 that I finally gave in and installed last week's Wednesday.

Do you want me to find and try the 74.0b2?

After some downloading and testing... it was definitely the 75.0b1 that brought the issue (and the 75.0b2 still has it). The 74.0b2 and couple of earlier ones I tested do not have it. At 5 minutes after starting Thunderbird, the CPU spikes and memory starts going fast. Attaching some logs soon.

Attached file tb-beta.log.gz

-rw------- 1 jhi staff 22308 Mar 27 18:53 tb-71.0b1.log
-rw------- 1 jhi staff 40308 Mar 27 19:13 tb-73.0b2.log
-rw------- 1 jhi staff 22836 Mar 27 19:25 tb-74.0b2.log
-rw------- 1 jhi staff 21994 Mar 27 19:36 tb-75.0b1.log
-rw------- 1 jhi staff 28159 Mar 27 19:52 tb-75.0b2.log

Each of them has at least ten minutes worth of log.

Note that each time I did nothing at all with the TB.

(Very likely unrelated observation: the 75.0b2 had very noticeable CPU spike in the beginning when one needs to click a few times to get through the -P dialogs.)

FWIW I tried doing the "Troubleshooting information > about:memory > Save memory reports" every minute using the 75.b02 but as soon as the CPU spikes at the minute five, the TB becomes unresponsive ("spinny beach ball", in macos terms) and I was unable to save the report anymore.

(I also tried enabling the "Thunderbird remote debugging", but the guides talk of "Tools > Allow Remote Debugging", which does not seem to exist. There is "Tools > Developer Tools > Developer Toolbox" which opens up something, but that looks more geared towards web developer work, when all I wanted was being able to run "about:memory" from another process....)

I figured out how to get the memory snapshots via the Developer Toolbox, but that didn't help for getting the snapshot after the magical limit of 5 minutes: the debugging instance cannot get anything out of the hung instance.

Blocks: 1330872

I've been seeing 1-4gb memory usage on Mac.

I'm not sure we need to see your situation at the point where it is hung - ISTM the time leading up to that should be enough.

Can you attach a text file to the bug from help > troubleshooting > copy text to clipboard?

Flags: needinfo?(jhi)

Please clarify: at what moment you want that troubleshooting thing to be taken? The thing is that once things start going bad TB hangs completely, and I cannot precisely predict when that happens, so I would need to keep repeating doing the thing until TB becomes unresponsive. With the GUI one try always takes at least a few seconds. Therefore a command line invocation not bound to the GUI and my clumsy fingers would be so much better.

Flags: needinfo?(jhi)

IOW, is there a way to get the information of Help > Troubleshooting information withOUT going through the GUI?

Ok, I see, the Troubleshooting information is static. In that case, this about 3 minutes after starting and about 2 minutes before TB 75.0b2 became unresponsive:

Application Basics

Name: Thunderbird
Version: 75.0b2
Build ID: 20200325160228

Update Channel: beta
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:75.0) Gecko/20100101 Thunderbird/75.0
OS: Darwin 19.4.0

Multiprocess Windows: 0/0
          Disabled
Remote Processes: 0
Enterprise Policies: Inactive
Google Location Service Key: Missing
Google Safebrowsing Key: Missing
Mozilla Location Service Key: Missing
Safe Mode: true

Mail and News Accounts
account2:
INCOMING: account2, , (none) Local Folders, plain, passwordCleartext

account4:
  INCOMING: account4, , (pop3) pop.gmail.com:995, SSL, passwordCleartext
  OUTGOING: , smtp.gmail.com:587, alwaysSTARTTLS, passwordCleartext, true

Crash Reports for the Last 3 Days

Remote Processes

Type: Count

Extensions

  Name
  Version
  Enabled
  ID

    Amazon.com
    1.1
    true
    amazondotcom@search.mozilla.org

    Bing
    1.0
    true
    bing@search.mozilla.org

    DuckDuckGo
    1.0
    true
    ddg@search.mozilla.org

    Google
    1.0
    true
    google@search.mozilla.org

    Twitter
    1.0
    true
    twitter@search.mozilla.org

    Wikipedia (en)
    1.0
    true
    wikipedia@search.mozilla.org

    Adblock Plus
    2.9.1
    false
    {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}

    Dropbox for Filelink
    1.0.1
    false
    thunderbird-filelink-dropbox@mikeconley.ca

    Provider for Google Calendar
    68.2.1
    false
    {a62ef8ec-5fdc-40c2-873c-223b8a6925cc}

    Remove Duplicate Messages
    0.1.14
    false
    {12345678-1234-1234-1234-123456789abc}

Security Software

Type: Name

  Antivirus:
  Antispyware:
  Firewall:

Graphics

  Features
  Compositing: Basic
  Asynchronous Pan/Zoom: none
  WebGL 1 Driver WSI Info: -
  WebGL 1 Driver Renderer: WebGL is currently disabled.
  WebGL 1 Driver Version: -
  WebGL 1 Driver Extensions: -
  WebGL 1 Extensions: -
  WebGL 2 Driver WSI Info: -
  WebGL 2 Driver Renderer: WebGL is currently disabled.
  WebGL 2 Driver Version: -
  WebGL 2 Driver Extensions: -
  WebGL 2 Extensions: -
  Uses Tiling: true
  Uses Tiling (Content): true
  Target Frame Rate: 60

  GPU #1
  Active: Yes
  Vendor ID: 0x1002
  Device ID: 0x67ef
  RAM: 0

GPU #2

  Diagnostics
  AzureCanvasBackend: skia
  AzureContentBackend: skia
  AzureFallbackC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QAAAAAAjMzNAA=
  Display0: 1680x1050 scale:2.000000
  DisplayCount: 1
  TileHeight: 1024
  TileWidth: 1024

  Decision Log
  HW_COMPOSITING: blocked by runtime: Acceleration blocked by safe-mode
  OPENGL_COMPOSITING: unavailable by default: Hardware compositing is disabled
  WEBRENDER: opt-in by default: WebRender is an opt-in featureunavailable-in-safe-mode by runtime: Safe-mode is enabled
  WEBRENDER_QUALIFIED: blacklisted by env: No qualified hardware
  WEBRENDER_COMPOSITOR: disabled by default: Disabled by default
  OMTP: blocked by runtime: OMTP blocked by safe-mode
  WEBGPU: disabled by default: Disabled by default

Crash Guard Disabled Features

Workarounds

Failure Log

Media

  Audio Backend: audiounit-rust
  Max Channels: 2
  Preferred Sample Rate: 44100

  Output Devices

    Name
    Group
    Vendor
    State
    Preferred
    Format
    Channels
    Rate
    Latency

    Internal Speakers
    AppleHDAEngineOutput:1F,3,0,1,1:0
    Apple Inc.
    Enabled
    All
    default: F32LE, support: S16LE S16BE F32LE F32BE
    2
    default: 44100, support: 44100 - 96000
    342 - 4424

  Media Capabilities

  Enumerate database

  Input Devices

    Name
    Group
    Vendor
    State
    Preferred
    Format
    Channels
    Rate
    Latency

    Internal Microphone
    AppleHDAEngineInput:1F,3,0,1,0:1
    Apple Inc.
    Enabled
    All
    default: F32LE, support: S16LE S16BE F32LE F32BE
    2
    default: 44100, support: 44100 - 96000
    23 - 4105

Important Modified Preferences

accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.amount_written: 354691
browser.cache.disk.capacity: 102400
browser.cache.disk.filesystem_reported: 1
browser.cache.disk.smart_size_cached_value: 358400
browser.cache.disk.smart_size.enabled: false
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.display.screen_resolution: 96
browser.display.use_document_fonts: 0
extensions.lastAppVersion: 75.0
font.internaluseonly.changed: false
font.name.monospace.x-western: Monaco
font.name.sans-serif.x-western: Droid Sans Mono
font.name.serif.x-western: Gentium
idle.lastDailyNotification: 1589011755
layers.acceleration.disabled: false
media.gmp.storage.version.observed: 1
network.cookie.prefsMigrated: true
network.predictor.cleaned-up: true
network.protocol-handler.warn-external.ftp: true
network.protocol-handler.warn-external.http: true
network.protocol-handler.warn-external.https: true
places.database.lastMaintenance: 1588665545
places.history.expiration.transient_current_max_pages: 86803
plugin.flash.arch: x86_64-gcc3
plugin.flash.blockliststate: 0
plugin.flash.desc: Shockwave Flash 32.0 r0
plugin.flash.lastmod_hi: 369
plugin.flash.lastmod_lo: 2054561440
plugin.flash.path: /Library/Internet Plug-Ins/Flash Player.plugin
plugin.flash.version: 32.0.0.363
plugin.importedState: true
privacy.donottrackheader.enabled: true
security.remote_settings.crlite_filters.checked: 1582714499
security.remote_settings.intermediates.checked: 1582714499
security.sandbox.content.tempDirSuffix: {298af8fb-f0bb-8a4e-98a6-09f9cf547d7a}
security.sandbox.plugin.tempDirSuffix: b0b82dee-55ec-9641-9d78-1fb67e9a9ab2
signon.importedFromSqlite: true
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1588925355

user.js Preferences

Your profile folder contains a
user.js file, which includes preferences that were not created by Thunderbird.

Important Locked Preferences

fission.autostart: false

Places Database

JavaScript

Incremental GC: true

Accessibility

Activated: false
Prevent Accessibility: 0

Library Versions

  Expected minimum version
  Version in use

  NSPR
  4.25
  4.25

  NSS
  3.51
  3.51

  NSSSMIME
  3.51
  3.51

  NSSSSL
  3.51
  3.51

  NSSUTIL
  3.51
  3.51

Sandbox

Content Process Sandbox Level: 0
Effective Content Process Sandbox Level: 1

Internationalization & Localization

  Application Settings
  Requested Locales: ["en-US"]
  Available Locales: ["en-US"]
  App Locales: ["en-US"]
  Regional Preferences: ["en-US","fi-US"]
  Default Locale: "en-US"

  Operating System
  System Locales: ["en-US","fi-US"]
  Regional Preferences: ["en-US","fi-US"]

Thanks for the info. Please attach troubleshooting as a file in the future.

So you only have one account, and it is pop? If you disable turn off the automatic download of messages via account settings startup and interval settings, does the high memory usage go away? Do you have message filters?

I'm unsure it will be revealing, but please record a log with instructions at https://wiki.mozilla.org/MailNews:Logging using
msgdb:5,timestamp,sync

Flags: needinfo?(jhi)

Yes, I have only one pop account, to gmail.

I now started the 75.0b2 with the now customary --safe-mode, and disabled all the downloading from the account settings. It had both "load at startup" and "periodically" checked, but I disabled both.

Note, however, that the period for downloading seemed to be 10 minutes, not the 5 minutes, which seems to be the rather precise "things go pear-shaped" marker.

Even with the connections disabled, the CPU spike happened at the 5 minutes. I let it run until memory exhaustion, at which point TB had eaten 54 GB of virtual memory.

Yes, I have filters, a few dozen simple rules gathered over the years.

Logging will have to wait until tomorrow.

Flags: needinfo?(jhi)

(In reply to Jarkko Hietaniemi from comment #22)

After some downloading and testing... it was definitely the 75.0b1 that brought the issue (and the 75.0b2 still has it). The 74.0b2 and couple of earlier ones I tested do not have it. At 5 minutes after starting Thunderbird, the CPU spikes and memory starts going fast. Attaching some logs soon.

To revisit this comment briefly - 74.0b2 and earlier definitely do NOT have the problem ??

Flags: needinfo?(jhi)

Still needs more information

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Flags: needinfo?(jhi)
Resolution: --- → INCOMPLETE
Summary: Thunderbird/Mac in startup eats gigabytes of memory and hangs → Thunderbird/Mac in startup eats gigabytes of memory and hangs (one pop account)

Jarkko,
Which release are you running now without problems?

Summary: Thunderbird/Mac in startup eats gigabytes of memory and hangs (one pop account) → Thunderbird/Mac in startup eats gigabytes of memory until OOM and hangs (one pop account)

68.10.0 is the safe release.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: