high cpu usage idling on macos 10.15, only when the window is in background. Gone in troubleshooting mode
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
People
(Reporter: luigicatello16, Unassigned)
References
Details
(Keywords: perf)
Attachments
(4 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1 Safari/605.1.15
Steps to reproduce:
nothing special, just keeping Thunderbird open in background
Actual results:
fan started spinning loudly, and MacOs listed thunderbird as high battery usage application
Expected results:
the app should not be this cpu-intensive in idle
Comment 1•3 years ago
|
||
Hi Luigi, do you perhaps have your Preferences Tab open in TB when high idle CPU load occurs? We have localization bug 1642415 for that...
Reporter | ||
Comment 2•3 years ago
|
||
(In reply to Thomas D. (:thomas8) from comment #1)
Hi Luigi, do you perhaps have your Preferences Tab open in TB when high idle CPU load occurs? We have localization bug 1642415 for that...
Nope, just incoming mail tab opened.
Reporter | ||
Comment 3•3 years ago
|
||
Update: I noticed that high values of CPU/power usage occur only if I hide the window (clicking on the red x on top-left).
If I leave the incoming mail window opened on another Space the CPU values are normal.
Reporter | ||
Comment 5•3 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #4)
Do you have a language pack installed?
I use Thunderbird in Italian, and have both English and Italian dictionaries downloaded. Does that count as language pack? I don't remember downloading the Italian language pack, is it possible that thunderbird did it by itself?
Comment 6•3 years ago
|
||
Thanks. No, dictionaries are not language packs.
Comment 7•3 years ago
|
||
How much memory is being used by Thunderbird?
Reporter | ||
Comment 8•3 years ago
|
||
When the window is hidden the app uses more than 2GB (see the new files attached). When left open, the app uses about 200MB.
Reporter | ||
Comment 9•3 years ago
|
||
Memory usage when the window is hidden
Reporter | ||
Comment 10•3 years ago
|
||
Memory usage when the window is left open
Updated•3 years ago
|
Comment 11•3 years ago
|
||
Does problem go away after Help > Troubleshoot mode?
Do you have non-default cursor size set in Mac?
Reporter | ||
Comment 12•3 years ago
|
||
I have the default cursor size.
In troubleshoot mode the problem seems to go away. I will attach another screenshot showing memory usage.
Reporter | ||
Comment 13•3 years ago
|
||
Comment 14•3 years ago
|
||
Since it's only a problem when in the background, I suspect it's gloda (the global message index) that's using that time to do indexing/synchronization. You can turn it off in the preferences.
Comment hidden (duplicate) |
Comment 16•3 years ago
|
||
But gloda isn't a "background only" operation.
What percent of CPU is being used?
And does it go away after Help > Troubleshoot Mode?
Reporter | ||
Comment 17•3 years ago
|
||
As I said, the problem apparently goes away in troubleshoot mode.
Thunderbird uses about 5% to 10% of CPU while idling. If I hide the window, the CPU use drops to 0.1%, with brief spikes to about 4%.
Comment 18•3 years ago
|
||
Please create a performance profile and post the URL here.
Instructions at https://support.mozilla.org/en-US/kb/profiling-thunderbird-performance
Reporter | ||
Comment 19•3 years ago
|
||
Actually, I am having some trouble creating a performance profile: I cannot click on "Stop recording performance", so I guess the .json file is not completed, and I cannot upload it on profiler.firefox.com. I will attach the file here.
Reporter | ||
Comment 20•3 years ago
|
||
profiler file created by hiding thunderbird window
Comment 21•3 years ago
|
||
yes, profile.json is not complete. It fails to upload to https://profiler.firefox.com/
try running the profiler for a shorter period before clicking "stop"
Reporter | ||
Comment 22•3 years ago
|
||
I can't click stop even if I only let the profiler go for a second... what should I do?
Comment 23•3 years ago
|
||
(In reply to luigicatello16 from comment #22)
I can't click stop even if I only let the profiler go for a second... what should I do?
Does disabling global indexing in preferences help (per Magnus' suggestion). What are your results after doing that?
Updated•3 years ago
|
Description
•