Hi, and first of all thanks for DavMail,
I have an issue on my Windows 10 laptop: when davmail is running and Thunderbird starts syncing through it, window's explorer.exe process' CPU usage skyrockets from 0.3% to ~20% and freezes the taskbar / start menu / notification area for 10 to 20 seconds. This happens when starting Thunderbird whether in safe mode or not (100% reproductible), or on computer wake but also every now and then. This high explorer.exe activity always follows a brief peak in davmail.exe activity. If I keep the log window open during that time, it is unresponsive (other windows, including Thunderbird are still responsive although I can't use the taskbar to switch between them) and only updates once the explorer.exe activity is back to normal, the last message being 6 OK FETCH completed.
When DavMail is off and I start Thunderbird, all is good (except I don't get my emails of course :) ).
This has been happening for a few months now - until I dug into it today and finally understood when it happens - and I think the appearance of the problem approximately coincides with the switch to using 2FA on the outlook server, where I moved from direct IMAP to using the O365Modern protocol.
Disabling all logging in the 'Log' tab does not change anything.
Interestingly, on my more recent work laptop with the same setup (same Windows 10 version, same Thunderbird and DavMail versions and same email account with same Inbox), I can not observe the issue.
I am happy to provide more information / run some tests if needed.
Thanks in advance for looking into it,
Thomas
Hi,
After experiencing the same problem on my - much more powerful - work laptop a few weeks ago, I think I have found a very simple way to solve the issue: reduce the size of the Inbox folder!
When the problem first appeared on my personal laptop, I had about 6-7000 messages in my Inbox. It took about year and an average of 10 messages per day (so about 3500 additional messages) to start having issues on my work laptop. Since I have moved all the messages in an archive folder - which I should definitely do more often - the above described issue has been fixed.
I am not sure why it is not an issue to have 10k messages in an archive / other folder than inbox and it becomes one when these messages are in inbox (maybe Thunderbird systematically tries to get a list of all messages in the Inbox folder?), nor if it can be fixed, but if it can there is at least a clue on where to look!
Thanks!
Thomas