Mail 6.3 uses CPU 100+%?

Discussion in 'OS X Mountain Lion (10.8)' started by OverSpun, Mar 29, 2013.

  1. OverSpun, Mar 29, 2013
    Last edited: Mar 29, 2013

    macrumors 6502a


    This has to be one of the strangest things I've seen while I'm writing emails or even reading email sometimes... I went to Activity Monitor and I noticed that Mail was using 103% CPU, how could that be possible?

    Mail has been working terribly since I upgraded to ML, starting with this- with strange signature issues and never fixed.(

    I just deal with the signatures but the 100% CPU happens maybe every few days or so. I either quit and open Mail again or restart and everything is smooth again.

    I couldn't find anything from searching but I can't be the only person who has seen this or any ideas?
  2. macrumors 6502a

    How many mail accounts do you have added?
  3. macrumors 6502a


    I have 5 emails on it but I never noticed any issues in Lion or SL or earlier. I usually see it while I'm composing an email and the cursor disappears and the text also lags by at least a few 5-10 seconds and it makes it slow to finish an email.
  4. macrumors 6502a

    Open console and then type v2 layout in the filter and see if there's anything concerning in the log.

    Attached Files:

  5. macrumors 6502a


    I tried it but v2 layout wasn't found. Strange.
  6. macrumors demi-god


    You can have up to 100% for each CPU core, physical and virtual.

    MPG - Mac Performance 101: Cores, Processes, Memory - CPU Cores Explained
  7. macrumors 6502a


    Thanks, that is helpful but I wish it would make sense about Mail since its the only app that has issues.

    My Quad 2.5 MBP came with 4gb ram w/ 750gb 7200HD and I still had these issues. I eventually upgraded to 16GB and it didn't change anything about Mail if it was bad ram. Of course, the machine runs a lot better besides Mail.

    I would like to upgrade to an SSD but a SATA drive shouldn't have caused this.
  8. macrumors demi-god


    Let's try rebuilding the Mail index. A corrupted index can cause your symptoms.

    First quit Mail app.

    Click the Desktop to bring focus to the Finder. Now hit shift-command-g (all three at once) and a box will pop up. Paste the below line in the box and hit enter. Now delete any files starting with Envelope like in my screen shot.

    Launch Mail and wait while it reindexes your mailboxes.

  9. macrumors 6502a


    Thanks and a quick question before I try this-

    Will affect any of my stored emails "On my Mac", pop3 emails, etc?
  10. macrumors demi-god


    Nope. Everything will still be there. This is just an index of the messages, not the messages themselves.
  11. macrumors newbie

    Good morning, I was having the same trouble with Mail, and after reindexing, I received the following e-mail.

    "You have now exceeded your iCloud storage, including an additional amount provided to allow you to continue receiving email. As a result, you will not be able to send or receive new email messages with your iCloud email address until you free up storage space or buy more storage."

    Will this resolve itself or does it require further action?
  12. macrumors demi-god


    It sounds like you have exceeded the storage limit for the account. Right click your Inbox then select Get Account Info to see what percentage of the storage space you are using.
  13. macrumors newbie

    Well that iCloud exceedance was temporary. I took my laptop to Genius Bar then called Apple Care later. Fan has been checked. Mail has been rebuilt and reinstalled. Mail still runs straight to 100% CPU and I am now noticing Safari will bog down for some simple internet tasks. I created a second user account and have seen none of these problems. I am calling Apple Care again and need to figure out how to transfer my programs and documents to the new user account. For example, I do not want Office 365 to ding me for another install.
  14. macrumors demi-god


    Is iCloud the only mail account you have? If it is, you might try going into Mail prefs and just delete the whole account from Mail. Then delete the entire contents of ~/Library/Mail/V2/ Then add the iCloud account back and start fresh. You won't loose any messages as they are all on the iCloud IMAP server and will be redownloaded.
  15. macrumors newbie

    Mail hangs while reindexing

    I have some 77000 mails on the IMAP server. Followed the above and Mail hangs around 2500 messages as it tries to "import messages" according to the dialog box. Does a "preparing" step and the proceeds up to near 2500 and stalls. Mail is hung and won't do anything except do this over again when I quit the "import" and restart Mail. Only change is that the total message count seems to go down by 2 or 3 every time I restart Mail and get the "import messages" and hit "continue". I'm stumped.

    Any suggestions are appreciated.
  16. macrumors demi-god


    I'm sorry, beyond what was already suggested I can't think of what would cause that.
  17. macrumors newbie

    Reinstalled the 3 deleted Envelope Index files

    Did a 4.7 gb 10.7 Combo reinstall. Just in case it was some subtle corruption in something else.

    I found ~Library/Mail/V2/MailData/Envelope Index files with 20 or so letter and number file names. Apparently one for every one of the 10 or so failed attempts at "importing". Deleted them all. When I reinstalled the 3 old backed up ///Envelope Index files I had deleted, Mail returned to normal operation. 100-120% CPU usage.

    Put all 4 Mail accounts offline. Opened Windows/activity in Mail and stopped all activity. Mail dropped to 85-95% CPU usage. This is nuts. Nothing is supposedly going on, but Mail continues to hog the better part of one CPU.
  18. macrumors newbie


    I had a persistent Spinning Wheel of Death (SWOD) that would interrupt me typing emails constantly. Mac Mail was hardly useable. Following the instructions below, I removed the "/" from the name of all labels in my gmail account and the CPU stopped its perpetual loop.

    I then noticed, however, that there was an occasional SWOD, not nearly as persistent, but quite annoying. Your suggestion to rebuild my mailboxes, Weaselboy, appears to have done the trick!

    Thank you very much!

  19. macrumors 68020

    Had same problem, the envelope deleting trick seems to have worked for now. Thanks!

Share This Page