MailMate hangs for 15 minutes, locks Mac GUI
-
benny
Other applications hanging is a sign that you are low on memory. You can use
/Applications/Utilities/Activity Monitorto see which applications use the most memory. It might be MailMate if you have a large collection of emails or if you have triggered some bug in MailMate which leaks memory.How much memory do you have in the machines?
How many messages do you have in “All Messages”?
Note that during the initial import of accounts MailMate may use more memory while building the database indexes. Are the accounts fully synchronized (no spinners)?
-
Keith Corbett
Each Mac has 8Gb RAM.
All Messages contains about 22K messages total.
Accounts are fully synchronized most of the time, although sometimes one will spin for a while (a few minutes).
Top memory processes are (according to Activity Monitor)
0 kernel_task root 1.1 87 684.4 MB Intel (64 bit)
382 arqcommitter root 0.0 7 658.6 MB Intel (64 bit)
392 Google Chrome kmc 0.6 32 259.1 MB Intel
1653 MailMate kmc 0.0 34 208.9 MB IntelI've disabled Arq backups on that Mac to see if that helps. The other one is not running Arq; it shows kernel_task, Chrome, and MailMate at top.
-
benny
Thanks for the details. 22K messages should certainly not be a problem, the memory usage of MailMate is not extreme, and it sounds like your accounts are fully synchronized.
In the Activity Monitor you should also be able to see if your machine is low on memory, but based on what your data I am guessing this is not the problem (unless arqcommitter or some other application periodically uses a lot more memory).
If it was a general problem with MailMate then I would think I had more reports about it, but since you have tried 2 machines then it kind of rules out a hardware issue. So, I'm not going to rule out a MailMate bug, but then I need more information. When MailMate starts hanging could you try using the Activity Monitor to “Sample Process”? That should generate a report which you can send to me.
(The crash report, by the way, is not related to your problem.)
-
Keith Corbett
Here's output from Sample Process soon after MailMate hung today, and before other apps (Chrome, Skype, Finder) also stopped responding. Note the arqcommitter process was not running. Next I'll try running without Chrome.
-
benny
Thanks for the output. It appears MailMate hangs in a system call writing data to disk. This is an unknown problem and I have no idea what could trigger it if it's not some kind of hardware problem (corrupt harddisk).
I think the only way to analyze this in more details is to make a debug version for you which provides more information about what is (attempted to be) written. Contact me by email if you want to go down this path with me (use the “Help ▸ Send Feedback” menu item).
-
benny
- State changed from new to cantreproduce
I'm cleaning up old tickets. I sent you an email August 13th, but I don't think I received a reply.
Let me know if you have additional information.
To open the email using the Terminal:
open "message://%3cF7640A66-1720-4860-A27C-5D1897737063@freron.com%3e" -
benny
- State changed from cantreproduce to resolved
Another user has helped track down the reason for this issue. It is related to, e.g., a virus scanner examining every file closed by MailMate. In this case, it was Avast, but it could be other such applications as well.
MailMate has a large set of database index files and some of them can grow quite big. Most of the time MailMate only appends data to these files (for efficiency), but even if MailMate only adds a few bytes to a file then Avast scans the entire file when it's closed. This is, of course, very inefficient.
Avast (and probably also similar applications) can be told to skip certain folders. This is the folder that should be skipped:
~/Library/Application Support/MailMate/Database.noindexNote that Avast is still going to scan emails and attachments. The index files have no content that is not present elsewhere.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
