ForTozs

Q: Memory leak in recentsd and Mail eating up all my RAM

Since I upgraded to Yosemite, the recentsd and Mail processes have been hogging all my RAM. Everything is fine after restart, but both processes slowly creep up until my computer is practically unusable. I am also getting a lot of these messages in console...

 

10/29/14 8:27:51.428 PM Mail[363]: Stream 0x60000031c5f0 is sending an event before being opened

 

I think the two problems mat be related. I have tried repairing permissions, SMC reset, and resetting the PRAM. I even tried

 

killall -9 recentsd

 

The problem persists. I read an article that Apple is storing a lot of my recent saves to the cloud here...

 

http://mjtsai.com/blog/2014/10/26/yosemite-uploads-unsaved-documents-and-recent- addresses-to-icloud/

 

Maybe something has gone wrong with this. Maybe its the result of my system not being handoff capable. I did unsuccessfully try to do a quite large mail drop the first day I installed Yosemite. Maybe this corrupted something. Either way, I consider this a major bug that I imagine wouldn't have made it to release if Jobs was still in charge. I feel Mac users are getting brushed aside more and more in favor of Apples more profitable projects. The memory leaks in Mail are happening to many other users. Many had GoDaddy IMAP accounts that were causing major issues. I don't have GoDaddy mail, and I am out of ideas. Does anyone have any idea how I can fix this?

MacBook Pro, OS X Yosemite (10.10)

Posted on Oct 29, 2014 6:53 PM

Close

Q: Memory leak in recentsd and Mail eating up all my RAM

  • All replies
  • Helpful answers

Previous Page 2
  • by ForTozs,

    ForTozs ForTozs Nov 10, 2014 5:31 PM in response to john ted
    Level 1 (4 points)
    Nov 10, 2014 5:31 PM in response to john ted

    I had the best results by backing up all my old emails and deleting them all. It was a bit of a process, but it definitely cut down on Mail's memory usage. Still seems like an obvious bug, but I suppose I may have had a corrupted email (although this didn't happen in Mavericks). Yosemite is still more resource heavy for me, but at least it is now usable. Still hoping 10.1 will clean things up.

  • by margaret.miz,

    margaret.miz margaret.miz Nov 26, 2014 1:06 PM in response to Linc Davis
    Level 1 (10 points)
    Nov 26, 2014 1:06 PM in response to Linc Davis

    Linc, when I double-tap (my right-click) on the selected line, I don't get an option "Services > Open". I am not on Yosemite, I am still on LIon.

  • by ForTozs,

    ForTozs ForTozs Nov 26, 2014 1:18 PM in response to margaret.miz
    Level 1 (4 points)
    Nov 26, 2014 1:18 PM in response to margaret.miz

    If you are trying to follow these steps, you can just open up applications > utilities > terminal and enter the command. The first one would be

    open ~/Library/Mail/Bundles

    for example. I just know how to do what you are asking. I am not sure whether or not you should follow the instructions on this thread as the thread was specific to Yosemite mail problems. I would at least make sure I have all my important files backed up before you make an major changes.

  • by margaret.miz,

    margaret.miz margaret.miz Nov 26, 2014 1:22 PM in response to ForTozs
    Level 1 (10 points)
    Nov 26, 2014 1:22 PM in response to ForTozs

    ForTozs - Thanks a lot for your quick reply. I will certainly take into account your advice to look into whether I should do this on Lion.

  • by Da G33k,

    Da G33k Da G33k Jul 22, 2015 6:04 PM in response to ForTozs
    Level 1 (0 points)
    Jul 22, 2015 6:04 PM in response to ForTozs

    I recently resolved this issue on my mom's iMac and MacBook Air.  The problem wasn't with Mac Mail though, but was with some online IMAP settings.

     

    My mom has multiple email accounts on her Mac Mail, including some Gmail accounts and one Google Apps account.  After manually disabling each account under Mail - Preferences - Accounts, she was able to determine that the cause of recentsd and CalNCService using so much CPU and memory was coming from her Google Apps account.  After going to Settings - Forwarding and POP/IMAP and comparing her settings with another Google Apps account that wasn't having any problems, I noticed that Auto-Expunge was turned off.  After I turned Auto-Expunge on, the problem went away after re-enabling her email account in Preferences - Accounts.

     

    Although this was a Google Apps email account, it would probably apply to any Gmail account as well.

     

    Hopefully this helps some of you.

  • by DJHxpl,

    DJHxpl DJHxpl Jul 23, 2015 5:54 AM in response to Da G33k
    Level 1 (5 points)
    Jul 23, 2015 5:54 AM in response to Da G33k

    Turning on Auto-Expunge in my online gmail settings corrected the recentsd and CalNCService problem on my Mac that I have been fighting for months.

  • by DJHxpl,

    DJHxpl DJHxpl Aug 7, 2015 10:51 AM in response to DJHxpl
    Level 1 (5 points)
    Aug 7, 2015 10:51 AM in response to DJHxpl

    Unfortunately this fix was only temporary.  Both recents and CalNCService are back with a vengeance.  From Activity Monitor I am constantly using Force Quit but they come back in just a few minutes.  Does anyone have any other suggetions?

Previous Page 2