You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

High Mail CPU with El Capitan

Since upgrading to El Capitan, I noticed the Mail application using a lot of CPU. About 80-90% sometimes.

Then going down to a few percent and then without any reason going up again.

Did a few times a "Rebuilt Mailboxes", but that did not help.


Any suggestions to repair this?

iMac, OS X El Capitan (10.11), 3.06 Ghz, 8 GB

Posted on Oct 10, 2015 10:33 PM

Reply
198 replies

Mar 16, 2016 11:55 PM in response to skierbeth

skierbeth wrote:


No such folder: /Library/Containers/com.apple.mail/Data/Library/


The folder is ~/Library/Containers/com.apple.mail/Data/Library/ and not /Library/Containers/com.apple.mail/DataLibrary. The ~ tilde at the start of the path points to the user library which is located at /Users/username/Library. Without the tilde it will be the system library at /Library. However, I incorrectly posted earlier steps for removing logs files. This was for an issue with memory usage, not CPU usage.

Apr 17, 2016 4:50 PM in response to Raffy1

I followed the instructions here: http://www.needhelp4mac.com/2015/10/troubleshooting-apple-mail-in-os-x-10-11-el- capitan/


and that solved the problem.


Issue seems to be that Apple changed the format of stored mail and the upgrade/conversion did not always go correctly. The solution is to go into /Library and delete all the config relating to mail so it is forced to set it all up again from scratch. The above post has a good detailed set of instructions on how do do this.


I have a complicated mail set up and a *lot* os stored mail. I am considering doing this once a year just to keep thinks clean. One of the nice things with this method is that you do *not* have to wipe your config in "Internet Accounts".


Good Luck!

Apr 22, 2016 10:30 PM in response to rful011

I'm on OSX 10.11.4, and have the same problem with high fan speeds on Apple Mail. The only thing is, the program only does this, when I access the stationary templates. I made a simple template which I use for my work, without any pictures or anything fancy. Even when I send the message, the window closes and the stationaries aren't visible. Has anybody encountered this, and does anyone has a fix for this? I'd like to delete the stock templates, but wasn't able to find them.

May 26, 2016 8:11 AM in response to bernie1242

Dear all,


I have been reading and testing all these threads on email issues with El Capitan and Mail.


I haven't been able to solve the issue yet, even after applying all suggestions made:

- I'm on MBP 13'' Late 2011, version 10.11.4

- have no Avast or other similar software

- have deleted logs, library files, etc, restarted and deleted accounts and nothing works.

- this is happening with a gmail account, my central one.

- every time I log in, it downloads 20-30k messages. I have limited the number of messages per folder to 1000 in Gmail defs, I don't have the All Mail label ticked in Gmail settings, all those things I've already done.


Still having these issues though. Almos trying Outlook out (downloaded it already).


Anyone still having issues with Gmail?


Thanks
Vasco

May 27, 2016 7:10 AM in response to vcromao

I have talked to Apple support in NL a couple of times. I haven't solved the problem, but they suggested a few tests to try and isolate the problem. I mention them below so that you do not try them :^), but also cause in the process I can confirm that this is only a problem with El Capitan.


1. I reinstalled El Capitan from the recovery disc (Cmd R at boot up). Nothing changed.


2. I created a second user, and connected to the the problematic IMAP account. The problem was still there.


3. I repartitioned the disc and installed a fresh version of the El Capitan to the newly created partition. I did not migrate anything from my time capsule, etc. to the new installation. The problem was still there.


4. Finally, I installed Yosemite in that partition (after reformatting it), and the problem was NOT there.


Clearly there is a problem in El Capitan, or the interaction of El Capitan with this particular IMAP server, which was not there in Yosemite.


Apple support tells me that they do not have records of this kind of problems. We are likely a minority. This means that Apple will likely do nothing about this...

May 27, 2016 7:20 AM in response to figante

By the way, I noticed one more problem with Mail in El Capitan:


A few times a day I receive emails that in Mail show up as being exactly the same as the previous email I had received (same sender, Subject, content).


E.g., I receive an email from user@host.com with Subject: "test", which I file to a mailbox.


A while later I get another email that Mail says comes from the same sender user@host.com with the same Subject: "test". Both email have the same contents also.


If I open another client, I see that this is not true, that the second email is from someone else.


I need to use Rebuild a few times in Mail, or delete the directory INBOX.mbox in the ~/Library/Mail/V3 (under the corresponding account path), or restart Mail, or a combination of the above, and eventually Mail gets it right.


Again, I tried today, and this does NOT happen with Yosemite.


I could not find anyone having this same problem in Google, so I suppose I am alone on this one...

May 29, 2016 8:18 AM in response to Raffy1

I am adding up my name on the long list over overheating Mac thanks to Mail.


I use a MBP mid-2012 (Core i5) upgraded with an SSD.

It worked fine with Mavericks und previous versions. I skipped Yosemite.

I originally upgraded to El Capitan. And had the overheating problem when using Mail.

I then did a fresh install of El Capitan (without use of Time Machine). Same problem.


Doing this (fresh install and moving Mail folder) I stubbled into another issue, which is explained here: http://www.needhelp4mac.com/2015/10/troubleshooting-apple-mail-in-os-x-10-11-el- capitan/

The issue was solved thanks to the article.


This means, however, that the library management of Mails seems different in El Capitan from Mavericks and previous (I dont know about Yosemite):

- Folder "V3" vs Folder "V2";

- subfolders have coded names.

Though I dont know whether it is only changing names (what for?) or whether there is more changes underneath.


Best

Loïc

Jun 6, 2016 4:18 PM in response to LOiPhone

I have the same problem with Mail described above on my MAC Book Pro, but my V3 mailbox looks correct, i.e., no mixing from V2. When in Mail under El Capitan my Mail % cpu is ~ 170 (very high). The computer fan comes on and stays on. This did not happen under Mavericks. However, under Mavericks this did happen with Outlook 2011, and so I switched to Mail and Calendar to stop this problem last year after much time trying to track it down. I switched to El Capitan last Friday thinking that by now all of the major bugs would be gone, but unfortunately it was not to be so as this Mail problem quickly emerged. However, now going back to Outlook 2011, most recent upgrade, the problem is gone under El Capitan! Go figure.

Jun 15, 2016 8:17 PM in response to Raffy1

This was helping me:

  1. Quitting Mail
  2. Dragged the folder ~/Library/Containers/com.apple.mail/Data/Library/Logs to the desktop
  3. Restarted Mail (It was not helping, Mail was running on high CPU consumption again)
  4. Quitting Mail (again)
  5. Dragged the Logs folder back
  6. Started Mail again.


After restating Mail the consumption went high again and I made a fs_usage in the Terminal. After some searches in Google the CPU consumption of Mail suddenly drops to nearly zero. Now it is running smooth. :-)


I don’t know exactly what the reason is for this solution, but it solves it for me. :-)

Perhaps It helps other people too.

Jun 19, 2016 5:07 AM in response to Raffy1

sometimes applications are running in the background . wait for some hours if still CPU % is not coming down a method is there :

Quit any malfunctioning processes

To quit a process, first try quitting it normally. For example, quit Safari by switching to Safari and choosing Safari > Quit Safari.

If you can't quit a process normally, you can use Activity Monitor to force it to quit. Save any documents related to the process, then select the process in Activity Monitor and choose View > Quit Process.

If you don't recognize the name of a process, it might belong to OS X or another process that you do recognize. To see the relationships between processes, choose View > All Processes, Hierarchically. If you see that a process belongs to an app, such as Safari or Mail, quit the app before deciding whether to quit any of its processes.

To help avoid malfunctioning processes, keep your apps, plug-ins, and operating system.

Jul 20, 2016 4:09 AM in response to Raffy1

I have this problem too and am on El Capitan 10.11.5 with the latest version of Mail - and because I Time Machine restored to a new laptop it indexed all mail during the setup process. I also have 16Gb of RAM.


I have 11 mail accounts, 2 of which are Gmail. I have a lot of mail - several Gb at least.


My approach today has been to change the Get New mail time to 15 minutes rather than 1 minute. I really don't need email messages that quickly! I don't think you can set that timer per account which is a shame.


The result is that my fan is quiet and my Average Energy Impact has dropped from a peak of 57 earlier to just below 40 and I suspect it will go a lot lower.


I hope this helps someone other than me.

High Mail CPU with El Capitan

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.