mswamp

Q: Yosemite OS 10.10 Mail Memory Leak

Since upgrading to Yosemite I have ran out of memory (MacMini, 16 Gbytes) three or four times.  I have traced this to Mail.app.  The trigger seems to be when you drag multiple files into the email to have them included.  Then, the memory usage starts racing, eventually using up all free memory within seconds.  The only way to recover is to use Force Quit from the Activity Monitor, normal Quit from within Mail does not work.  See the attached screenshot.  By the time I grabbed the screen shot and pressed Force Quit, it was already up to 17 Gbytes of Memory. 

 

Has anyone else came across this problem?

 

PastedGraphic-1.tiff

iPad 2

Posted on Oct 19, 2014 5:17 PM

Close

Q: Yosemite OS 10.10 Mail Memory Leak

  • All replies
  • Helpful answers

first Previous Page 22 of 22
  • by JerimiahJ,

    JerimiahJ JerimiahJ Nov 18, 2015 11:58 AM in response to mswamp
    Level 1 (0 points)
    Nov 18, 2015 11:58 AM in response to mswamp

    The memory leak in Mail is obvious when you watch it happen on "Activity Monitor" program found in your utilities. I tried many fixes from all over the net and none worked. Finally I ran Onyx a free mac program that runs a lot of the normal cleanup routines that you can access in terminal. This has completely fixed the problem for the last 24 hours. I've used this software for many years through all its updates on 8 or 10 different Mac's without any problems.

  • by alexcohenza,

    alexcohenza alexcohenza Nov 19, 2015 8:08 AM in response to gary.liddle
    Level 1 (9 points)
    iPhone
    Nov 19, 2015 8:08 AM in response to gary.liddle

    Can confirm that this solved the issue immediately for me. (Running El Capitan 10.11.1)

  • by MtnBiker,

    MtnBiker MtnBiker Nov 19, 2015 2:12 PM in response to MtnBiker
    Level 1 (82 points)
    Photography
    Nov 19, 2015 2:12 PM in response to MtnBiker

    24 hours after toggling off (unchecking) "uncheck the Use IDLE command if the server supports it," I checked them for all four accounts and no problems. AFAIK I didn't do anything to fix the problem except this unchecking and rechecking. I have a total of six IMAP accounts with this option, with I had only unchecked the ones at my host 1and1.


    Time will tell.

  • by Dmitryy,

    Dmitryy Dmitryy Nov 24, 2015 9:21 AM in response to Kessa.CZ
    Level 1 (0 points)
    Nov 24, 2015 9:21 AM in response to Kessa.CZ

    Great! It works:

     

    4) I deleted file Container.plist and folder Data from ~/Library/Containers/com.apple.mail

    5) I deleted file Envelope Index and folder V3 from ~/Library/Mail

  • by farhuset,

    farhuset farhuset Dec 2, 2015 1:20 PM in response to Dmitryy
    Level 1 (0 points)
    Dec 2, 2015 1:20 PM in response to Dmitryy

    Dmitriy,

     

    you are a time saving genius.

    You did what no one at Apple support could do - you helped me and probably many more.

    I hail you and send my grateful thanks!

  • by MtnBiker,

    MtnBiker MtnBiker Dec 2, 2015 1:39 PM in response to MtnBiker
    Level 1 (82 points)
    Photography
    Dec 2, 2015 1:39 PM in response to MtnBiker

    Two weeks later and no reoccurrence. Only toggled IDLE checkbox. Didn't delete the files mentioned by some. El Capitan. A mystery.

  • by farhuset,

    farhuset farhuset Dec 2, 2015 1:42 PM in response to MtnBiker
    Level 1 (0 points)
    Dec 2, 2015 1:42 PM in response to MtnBiker

    I followed the 4th step  and that helped me.

    It does not do anything with tour mails, but the plist settings.

    It works!

  • by MtnBiker,

    MtnBiker MtnBiker Dec 3, 2015 2:37 PM in response to MtnBiker
    Level 1 (82 points)
    Photography
    Dec 3, 2015 2:37 PM in response to MtnBiker

    I had posted that everything seemed OK after toggling IDLE off and on. Went for a week or so without problems. I just rebooted and within a few minutes got the out of memory message. Force Quit (maybe I could have just quit) Mail and relaunched and it everything is OK ten minutes later. So was it the reboot? On El Cap.

  • by Definity33,

    Definity33 Definity33 Dec 8, 2015 7:54 AM in response to Kessa.CZ
    Level 1 (0 points)
    Dec 8, 2015 7:54 AM in response to Kessa.CZ

    Kessa.CZ wrote:

     

    What definitely helped me:

     

    NO drafts, NO 5 minute interval, NO idle checking/unchecking and so on...

     

    1) I backed up complete folder Mail in ~/Library/ and deleted all the accounts from Mail.app

    2) I disconnected power cord and let my iMac (2013) without power overnight. (Don't know, if this played some role, but i did it.)
    3) Next morning I started it after 7 hours cold.
    4) I deleted file Container.plist and folder Data from ~/Library/Containers/com.apple.mail
    5) I deleted file Envelope Index and folder V3 from ~/Library/Mail

    6) I started Mail.app and set three mail accounts: iCloud, Gmail and one local IMAP account.

     

    Now all works fine and Mail.app takes about 100 MB RAM.

     

    Thank you so much!!!!

     

    I've been using OS X El Capitan (v 10.11.1) for several months and haven't had any problems. A few days ago my computer came to a sudden halt when the Mail app started using 10 GB of ram out of my 12 GB. I've attempted so many things to get this working again and the only thing that helped was deleting the "Data" folder as mentioned in #4. I started by removing the "Container.plist" file but that didn't work. I made a backup to my desktop of the folder and then moved the original to the trash.

     

    I opened Mail and it is now running at 119.4 MB!!!!! 

     

    It did remove all the local emails and folder links just under the tool bar. My signatures need to be reassigned again but this is all easy stuff to fix. Thanks again for the help @Kessa.CZ!

  • by marinab,

    marinab marinab Jan 21, 2016 10:37 PM in response to JerimiahJ
    Level 1 (0 points)
    Jan 21, 2016 10:37 PM in response to JerimiahJ

    What did you do in Onyx exactly? I just ran it, it found the computer OK, but Mail crashed withe App Memory message again just after.

  • by marinab,

    marinab marinab Jan 21, 2016 10:39 PM in response to MtnBiker
    Level 1 (0 points)
    Jan 21, 2016 10:39 PM in response to MtnBiker

    Where is the IDLE checkbox ... would you mind being a little more specific? Thanks.

  • by MtnBiker,

    MtnBiker MtnBiker Jan 21, 2016 10:50 PM in response to marinab
    Level 1 (82 points)
    Photography
    Jan 21, 2016 10:50 PM in response to marinab

    Mail Preferences > Accounts > Advanced

first Previous Page 22 of 22