cacciato

Q: Yosemite mail memory leak?

Since upgrading to the release of Yosemite, my MAC mini hangs if I leave mail open too long and sometimes gives me an 'out of virtual memory' error - two apps showing: mail and finder.  Killing mail restored performance - reboot for good measure.

 

I saw quite a few posts in the Yosemite beta forum about this issue but no closure and nothing in the product support forums here. 

 

Anyone else having this issue? Any fix in sight?

 

Thanks!

 

Cacciato

Mac mini, OS X Mountain Lion (10.8.5), Apple Mail 6.6. (1510), 8GBRAM

Posted on Oct 27, 2014 3:42 PM

Close

Q: Yosemite mail memory leak?

  • All replies
  • Helpful answers

  • by William Lloyd,Solvedanswer

    William Lloyd William Lloyd Oct 27, 2014 4:04 PM in response to cacciato
    Level 7 (21,183 points)
    Oct 27, 2014 4:04 PM in response to cacciato

    There have been a couple very long threads about it here.

     

    I've never personally seen the problem, but many people in the threads are using GoDaddy accounts and IMAP. Any chance your configuration is similar?

  • by cacciato,Helpful

    cacciato cacciato Oct 27, 2014 4:23 PM in response to William Lloyd
    Level 1 (0 points)
    Oct 27, 2014 4:23 PM in response to William Lloyd

    Good call on GoDaddy - I have several email accounts (all IMAP) and GoDaddy IMAP is one of them.

     

    I had issues with the GoDaddy account intermittently losing contact with GoDaddy (secureserver.net) mail with Mavericks and had to delete and reconfigure that account to get it to work on several occasions. The issues previously showed as timeouts and endless prompts to enter a password.

     

    In the interim of a solution I'm closing mail and relying on my iPhone for notifications. 

  • by William Lloyd,

    William Lloyd William Lloyd Oct 27, 2014 4:28 PM in response to cacciato
    Level 7 (21,183 points)
    Oct 27, 2014 4:28 PM in response to cacciato

    Try disabling just the GoDaddy IMAP account and seeing if it resolves the issue. Just go to Mail->Accounts and select the GoDaddy account and uncheck "enable this account." Then quit and restart Mail and see if memory usage is more stable.

     

    I don't know why a GoDaddy IMAP account would cause issues where others would not - it's odd, but it seems there's a pattern. Hopefully someone with a GoDaddy account that can reliably replicate this and confirm it's related to the issue will provide feedback to Apple here.

  • by java_4_me,

    java_4_me java_4_me Oct 27, 2014 8:45 PM in response to cacciato
    Level 1 (0 points)
    Oct 27, 2014 8:45 PM in response to cacciato

    There certainly is enough chatter across the web correlating GoDaddy IMAP accounts and the memory leak.  I went into my account settings and updated all the ports to 993 that were set to 143.  Mail has been up and running now for awhile with no issues.  #fingerscrossed

  • by nctechnologeek,

    nctechnologeek nctechnologeek Oct 29, 2014 8:06 PM in response to java_4_me
    Level 1 (0 points)
    Oct 29, 2014 8:06 PM in response to java_4_me

    Your post prompted me to go check my IMAP incoming port settings for my 4 GoDaddy accounts in Mail.app. Turns out that the upgrade to Yosemite must have reverted my port settings back to 143, while leaving the Use SSL checkbox checked, all unbeknownst to me. So I went back and changed the ports to 993 and so far, after nearly 4 hours, Mail.app is now behaving at around 89-90MB and stable. Far cry from the 64.19GB that it was getting up to earlier today and intermittently since Monday (though my upgrade took place last Wednesday, so not sure why I was running smoothly for about 4 days before the Force Quit / Out of Memory issues started). My fingers are crossed too. I definitely know I was using port 993 on Mavericks. Curious if anyone else with a GoDaddy IMAP account (or any IMAP account) has checked their incoming SSL port settings since the upgrade.

  • by micaelus,

    micaelus micaelus Nov 4, 2014 8:12 PM in response to cacciato
    Level 1 (39 points)
    Nov 4, 2014 8:12 PM in response to cacciato

    Try unchecking "Store draft messages on the server" (Preferences > Accounts > Mailbox Behaviors) for your godaddy account(s). Seems to be working for me after the same memory issue.

  • by Skyman61,

    Skyman61 Skyman61 Nov 5, 2014 1:51 PM in response to nctechnologeek
    Level 1 (0 points)
    Nov 5, 2014 1:51 PM in response to nctechnologeek

    Yes, I have two GoDaddy email accounts. On one the incoming mail server port was 993 (what it had been before the Yosemite install) but the other had changed to 143 (not what it was before the install) so I changed it back to 993. I hope this works!

  • by Vintagenarian,

    Vintagenarian Vintagenarian Nov 12, 2014 4:57 PM in response to cacciato
    Level 1 (4 points)
    Publishing
    Nov 12, 2014 4:57 PM in response to cacciato

    Two weeks ago my bright and shiny new iMac 27 i7 5K Retina arrived, with 1TB Flash drive and 32GB memory—no holds barred. I'm in the tech field so I have robust needs and way too many programs installed, including upwards of 20 helpers in the System Menu. Just a few days into my reinstalling everything from my outgoing Mavericks > Yosemite iMac (no migration on the new machine, just a fresh start) problems identical to those described here began—and haven't stopped.

     

    Mail is up 24/7, including SpamSieve and MailHub add-ons. Even when many apps were open for my normal work, I'd have a good 20GB free memory. But somewhere around Day 3 symptoms of the issues began with a "stuttering" latency when dragging windows, or shifting desktop spaces, a lag of sorts, surprising given the abundant RAM and processor speed, but something I'd seen reported on Yosemite's roll-out, though I hadn't noticed it during my many months of beta testing.

     

    From "stuttering" windows I could actually watch my Memory Clean status plummet from ±20GB to around 15MB, and huge spikes in memory pressure, as this appeared on my screen repeatedly over the past two weeks:

     

    error.jpg

     

    Then the machine locked up. This happened with regular frequency through the day, sometimes a dozen times a day. The longest I went without seeing it was 1.5 days—but it made up for its absence by making it impossible for me to get 15 good minutes before freezing up again. Vizzini's voice rang in my head, "Inconceivable!"

     

    Apple Tech Support, Tier 2/3, didn't understand it, but tried to help me debug it over several days, watching it occur live on screen sharing. They elevated it to "the engineering team," but I haven't heard back for several more days now, having sent in screen snaps of every possible image that might help: activity monitor, console and system crash logs, everything.

     

    Then I found this page.

     

    So, since I have two GoDaddy accounts I checked the IMAP settings and, as expected, my SSL ports had changed to 143. Heeding the advice of all here, I reset Mail settings as advised, and so far have had NO issues at all. I will continue to monitor and report, but if that's what's causing it, I'm sure your sleuthing will help a whole lot of folks, including me. I'm already grateful for a few hours of up time.

  • by Tabinoon,

    Tabinoon Tabinoon Nov 22, 2014 8:10 AM in response to micaelus
    Level 1 (0 points)
    Nov 22, 2014 8:10 AM in response to micaelus

    This helped me!  Thank you...