Mail app with Exchange memory leak

I have Mail 5.3 on 10.7.5 running with one Exchange account and no other accounts. Every time I press the "Get new messages" button, or when it automatically does that, memory usage for the Mail app jumps by 3-5MB. Over time, this becomes substantial. I left Mail running on my work computer over the long weekend and came back to find it using over 4GB of RAM! A quit-restart of Mail drops it back to 70MB usage, but it grows again.
Anyone else experience this? Is it related to the Exchange account? Any known fixes?
Thanks!

I think I found a solution. I was having trouble with Exchange, so I deleted the account then set it up again. After that process, I found that the Mail app no longer eats memory. Give it a try!

Similar Messages

  • Mail.app and huge memory leak

    Mail.app have some serious memleaks: http://jabster.nazwa.pl/MailAppMemLeak.mov (recorded from activity monitor). Mail.app can eat all memory and cause system to become unrespondable. Anyone have similar issue?

    Solved it!
    I have several email accounts configured in Mail. While Mail was eating up the memory, I've noticed the rotating circle at one of the accounts indicating Mail is doing something with it. This particular account was Google mail via IMAP. What I did to resolve problem is I deleted Google mail from my accounts and I've restarted Mail. Things turned back to normal! Then I've added GMail account again, and it is working like a charm since, Mail is using only 238Mb of memory.
    Therefore, I can conclude there is a bug in Mail handling email accounts (in my case Google mail via IMAP) and it is doing something with that account that increasingly takes ridiculous amounts of memory. Removing the account in questions, restarting Mail and adding the account again has solved the problem in my case :))
    Danny

  • Assertion Failures using Mail.app with Exchange 2007...

    We have been implementing and migrating our end-users to Exchange 2007. In doing so we found that Mail.app end-users were experiencing Assertion failures in Console.app. They used to cause Mail.app to crash and lose connectivity frequently to the Exchange 2007 server. We made a change to the firewall to allow communication to happen between domain controllers, but haven't been able to determine if this in fact resolved or helped hide the root cause. We seem to be no longer crashing Mail.app or losing connectivity, but the same logs when we would crash/lose connectivity are still happening when you look in Console.app.
    *Here is an example of an Assertion failure where "The Operation couldn't be completed":*
    +11/12/10 1:19:36 PM Mail[3201] * Assertion failure in -[EWSConnection sendMessage:forRequest:], /SourceCache/Message/Message-1082/MessageStores.subproj/EWSConnection.m:374+
    +Received an unexpected error: Error Domain=NSXMLParserErrorDomain Code=5 "The operation couldn’t be completed. (NSXMLParserErrorDomain error 5.)", response: (null)+
    + 0 Message 0x00007fff804216e4 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 137+
    + 1 Message 0x00007fff80421649 -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 220+
    + 2 Message 0x00007fff8036301b -[EWSConnection sendMessage:forRequest:] + 1117+
    + 3 Message 0x00007fff8036e5b9 -[EWSGateway sendMessage:forRequest:] + 79+
    + 4 Message 0x00007fff80381a63 -[EWSRequestOperation executeOperation] + 104+
    + 5 Message 0x00007fff8042fab9 -[MonitoredOperation main] + 229+
    + 6 Foundation 0x00007fff8654bde4 -[__NSOperationInternal start] + 681+
    + 7 Foundation 0x00007fff8662abeb __doStart2 + 97+
    + 8 libSystem.B.dylib 0x00007fff863522c4 dispatch_call_block_andrelease + 15+
    + 9 libSystem.B.dylib 0x00007fff86330831 dispatch_workerthread2 + 239+
    + 10 libSystem.B.dylib 0x00007fff86330168 pthreadwqthread + 353+
    + 11 libSystem.B.dylib 0x00007fff86330005 start_wqthread + 13+
    *I also get this Assertion failure every time I re-open Mail.app that shows up in Console.app that says "Mail did something wrong: The specified folder could not be found in the store.":*
    +11/12/10 12:44:22 PM Mail[3201] * Assertion failure in -[EWSGetFolderResponseOperation handleResponseMessage:withObject:], /SourceCache/Message/Message-1082/MessageStores.subproj/EWSResponseOperation.m: 420+
    +Mail did something wrong: The specified folder could not be found in the store. on EWS response <EWSGetFolderResponseOperation: 0x1012f1830> (EXECUTING)+
    + 0 Message 0x00007fff804216e4 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 137+
    + 1 Message 0x00007fff80421649 -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 220+
    + 2 Message 0x00007fff80382956 -[EWSResponseOperation handleResponseMessage:withObject:] + 2295+
    + 3 Message 0x00007fff80377aae __-[EWSGetFolderResponseOperation executeOperation]block_invoke1 + 88+
    + 4 CoreFoundation 0x00007fff879c26d7 __NSArrayEnumerate + 1399+
    + 5 Message 0x00007fff80377d86 -[EWSGetFolderResponseOperation executeOperation] + 445+
    + 6 Message 0x00007fff8042fab9 -[MonitoredOperation main] + 229+
    + 7 Foundation 0x00007fff8654bde4 -[__NSOperationInternal start] + 681+
    + 8 Foundation 0x00007fff8662abeb __doStart2 + 97+
    + 9 libSystem.B.dylib 0x00007fff863522c4 dispatch_call_block_andrelease + 15+
    + 10 libSystem.B.dylib 0x00007fff86330831 dispatch_workerthread2 + 239+
    + 11 libSystem.B.dylib 0x00007fff86330168 pthreadwqthread + 353+
    + 12 libSystem.B.dylib 0x00007fff86330005 start_wqthread + 13+
    +11/12/10 12:44:22 PM Mail[3201] Recieved EWS error: Error Domain=MFEWSErrorDomain Code=79 UserInfo=0x1148c1d10 "The specified folder could not be found in the store."+
    We are getting these Assertion Failures for other end-users as well that are using Mail.app and connecting to Exchange 2007 Server. I have wiped my mail.app account and started from fresh and that didn't help. I did it manually as well ensuring that preference files, caches, and passwords related to mail.app, ical.app, and Address Book.app were removed. That did not work. I just went from 10.6.4 to 10.6.5 hoping that would correct the issue, it did not. I even set up on another Mac a baseline Snow Leopard and patched it and then configured my mail account and still got the same errors.
    What I am hoping for is not a miracle (Fixing the problem), but being told what these errors mean and if there is any risks to be concerned with. In other words, can I ignore these error messages or should I be concerned? Like I said it was causing us to get the sideways thunderbolt or triangle with an exclamation point and even crashing Mail.app at times. That hasn't happened since we let the all of the domain controllers talk to each other, even though they shouldn't have to.

    I echo your hope for someone shedding a light on this. I too am geting Assertion failures, every few days, though without much in the way of crashes.
    Here is an example of a log entry describing one recent such failure:
    +5.12.2010 11:04:40 Mail[17075] * Assertion failure in -[EWSGetFolderResponseOperation handleResponseMessage:withObject:], /SourceCache/Message/Message-1082/MessageStores.subproj/EWSResponseOperation.m: 420+
    +Mail did something wrong: The specified folder could not be found in the store. on EWS response <EWSGetFolderResponseOperation: 0x11d80ec70> (EXECUTING)+
    0 Message 0x00007fff81f7d6e4 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 137
    1 Message 0x00007fff81f7d649 -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 220
    2 Message 0x00007fff81ede956 -[EWSResponseOperation handleResponseMessage:withObject:] + 2295
    3 Message 0x00007fff81ed3aae __-[EWSGetFolderResponseOperation executeOperation]block_invoke1 + 88
    4 CoreFoundation 0x00007fff8448c6d7 __NSArrayEnumerate + 1399
    5 Message 0x00007fff81ed3d86 -[EWSGetFolderResponseOperation executeOperation] + 445
    6 Message 0x00007fff81f8bab9 -[MonitoredOperation main] + 229
    7 Foundation 0x00007fff847b4de4 -[__NSOperationInternal start] + 681
    8 Foundation 0x00007fff84893beb __doStart2 + 97
    9 libSystem.B.dylib 0x00007fff85f6b2c4 dispatch_call_block_andrelease + 15
    10 libSystem.B.dylib 0x00007fff85f49831 dispatch_workerthread2 + 239
    11 libSystem.B.dylib 0x00007fff85f49168 pthreadwqthread + 353
    12 libSystem.B.dylib 0x00007fff85f49005 start_wqthread + 13
    Perhaps coincidentally, I am having trouble with syncing iCal with my Exchange account. Ii have only found this thread on the subject, and am in the process of trying to find there the solution to that problem:
    http://discussions.apple.com/thread.jspa?threadID=2138051
    Any and all insight would be greatly appreciated.

  • Mail.app with Exchange - all folders will not sync - is there a fix or is this a defect

    I am tryinf to switch from Outlook to Mail - running Mavericks and new 7.0 mail app.  Inbox appears to have synced but other folders within inbox are empty and have tried to rebuild several times.  Thoughts?  I do have a lot of messages.

    Self-hosted add-ons have to be fixed for every new version of Firefox. Two to 6 months for updating an add-on is ridiculous for a program which has a new version release every '''6 weeks'''. If that extension was hosted at the official Add-ons website, Mozilla would take take care of "bumping" that extension, as long as it keeps working, for every new version of Firefox, as the new version is released.
    See this thread from yesterday, I posted instructions about how to "bump" that extension for Firefox 7.<br />
    https://support.mozilla.com/en-US/questions/884484
    You can also use this extension to "bump" an already installed extension for compatibility with the currently installed version of Firefox. <br />
    https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/

  • How configure mail.app with webmail, exchange 2003?

    Hi,
    I would like to configure mail.app with webmail, exchange 2003.
    I have certified file of this serverver, and the webmail used https and port 443,listener port.
    And webmail address is https://webmail.abc.com/exchange.
    How configure mail.app with webmail?
    Best regard and I'm pleased to thank you for you kind support in advance.
    nautiluzth

    For the best Mac compatibility with Exchange, I suggest you use Microsoft Entourage, part of Microsoft Office.

  • Problem using Win 8.1 Mail app with corporate email account

    I have a client where most of the PCs are running Windows 8.1 with Office 2013 installed and an on-premise Exchange 2013 server.
    Even though they've been using Office 2013, now that they have Win 8.1 the staff now like to use the included Mail app for all their email as they say they get better notifications with it and some other "goodies" that Office 2013 doesn't provide.
    It's been working okay for them as I haven't heard of any problems. Until now. Their domain passwords are expiring and when they change the domain password they have no problem with the PC itself and domain access and Outlook 2013 still works fine.
    But now they're getting errors trying to continue to connect the Mail app to Exchange 2013. They keep getting a popup asking for credentials, their domain accounts get locked out (imagine that) after too many wrong logins I presume by the Windows 8.1 apps,
    and when they do get the Mail app connected they see an error in the lower right corner of the window about a problem with the certificate. It says something about the name of I think the server not matching the certificate.
    The cert is from GoDaddy and I know the names involved with the cert are correct. But that's the minor issue.
    The main issue is with getting the 8.1 apps, particularly the Mail app, to recognize the updated domain password.
    I have a Windows 8.1 VM setup and on the domain but when I try to configure it to connect to the Exchange server I get the error "Unable to connect. Ensure the information you've entered is correct."
    It's pretty obvious what is supposed to go in each field so I'm sure I'm filling it out correctly. But because of this I can't use this test VM to work on the problem.
    If anyone has an idea of how to deal with the Windows 8.1 Mail app and Exchange and changing the user domain password, I'd be appreciative of the help.
    Jonathan

    Hi,
    Thanks for your feedback.
    With 8.1, you can now use the Mail app without having to have a Microsoft account.
    A Microsoft account is an email address and password that you use to sign in to Windows. It's free and easy to set up, and you can do so with any email address you choose, or get a new email address. (For example, you can use an Outlook.com, Gmail, or Yahoo!
    address for your Microsoft account.)
    However, you must sign with an email address.
    Any way, if you have any other problem, welcome to contact us.
    Karen Hu
    TechNet Community Support
    That is one way you can sign into Windows but not required. As I stated earlier, these PCs are domain joined and that's how they login to them. As for the Mail app, 8.1 means an MS account isn't required anymore.
    Jonathan

  • Mail.app to Exchange connection issues...

    Hi Everyone,
    First off...I'm new to the "Mac world", but well versed in the Windows environment...
    I'm having trouble getting Mail to work with my Exchange account. At first, I couldn't send email (but received fine), I still get occasional "connection" errors, but not too concerned....yet
    The problem I'm still having is after receiving emails, and reading them, they show up as "read" on my PC within seconds of opening them (I'm running a PC & Mac side by side to get this problem sorted out), but any deletes or filing in different folders from the Mac DO NOT get reflected on the PC.
    I know the problem is not my Exchange server (I set it up for our office) because I'm able to connect all the following devices & configurations to it:
    iPod Touch (with 2.x software)
    Assorted Blackberries
    Windows Mobile 6.x devices
    Outlook Web Access
    both local & remote Outlook connections (either via OWA, or VPN connection)
    I've tried playing around with the various account settings in Mail, but none seem to have any impact... I've even deleted & re-created the profile, and have the same results!
    Any help is appreciated .... thanks in advance!

    Hi, help me please to resolve my problems with Mail.app via Exchange. I can sent mail no futher than the Exchange name space. But I can't receive any mail at all. No SLL, IMAP/SMTP by default, all settings are correct in all layers of my account. It's absolutely true. I have no more ideas how to sync Mail with Exchange. May be I need to configure the Exchange but how? Could you send me Exchange'screenshots to [email protected] with IMAP layer and others you decide they necessary? I will be appreciated for any support. Thanks in advance.

  • Duplicate Notes in Mail.app w/Exchange server

    Latest version of Mail.app and Exchange 2007 server.
    What we are experiencing is that a users NOTES will not replace when edited but leave new versions over and over and over again. Mail is not cleaning out the old versions correctly.
    If you go back later and open the most "recent" version sometime the old ones will disappear sometime not.
    This is a mirror of the "drafts" duplication issue which was corrected in 10.6.3
    Anyone has seen this issue please contact me through this thread.
    Thanks
    Robert

    I'm having the same issue with an Exchange account. I cannot create non-Exchange Notes, and every note I work on drops a new one not just with ever save, but every few seconds as I edit the note. After a few minutes working on a long note, I have a dozen older "revisions" that it plonked down as I was working. I have to delete them when I'm "done", and sometimes if I delete all but the last one... the last ("real/current") edit also disappears.
    On top of that mess, I have it set not to display notes in the inbox, and yet it does. What a mess.

  • Cannot sort emails sent from Mail App and Exchange

    When trying to sort emails on Outlook in Windows, lets say by "Flag", emails coming from a mac using mail app and exchange get placed at the top of the list.
    Have tried sending emails from the same account via webmail and iphone and they get sorted correctly.
    Anyone has had this problem?

    So, Here's what happens:
    1) Send email from Laptop (Snow Leopard) with Exchange Integration
    2) Send email from iPhone (3.1) with Exchange Integration
    In Outlook 2003 sort by flag (neither of these messages are flagged). Any email sent from the Snow Leopard is sorted first in the Unflagged category in Outlook. Any of the email sent from the iPhone is sorted normally.
    There's no differences in the headers to cause these to sort differently. The only headers that differ are the Date, Subject/Thread-Topic, Thread-Index, Message-ID, x-ems-stamp. But, in the Message-ID it has the same domain.
    Both Snow Leopard and iPhone are configured to use the same Exchange OWA/OWS.
    Message was edited by: GaryRudolph

  • Multiple mailboxes when using mail.app with google in IMAP.

    Hello,
    I have just started using mail.app with IMAP and my google mail account appears to be in two place. The mail.app has the following interface in the left pane.
    MAILBOXES, REMINDERS, RSS and GMAIL all in grey. Below the MAILBOXES i have got the following folders, inbox, sent and trash and below the GMAIL, i have got a replication of the structure in my google account.
    which set of folders should i be using?
    when i deleet the mail in the MAILBOXES it does not seem to delete it in All Mail folder under GMAIL.
    IS the synchronisation between the mails in the mail.app and the google server on a periodic basis. can i force the synchronisation?

    Mail works fine with Exchange 2003. This is how our accounts are configured:
    Incoming Mail Server:your exchange server.domain.com.au
    eg. server2.bunnings.com.au
    Username: domain\User alias\Full username
    eg. bunnings\bobs\bob.smith
    SMTP: smtp.bunnings.com.au
    Web Access Server: webmail.bunnings.com.au
    You can then setup the LDAP options under the composing tab to get the email list from your Exchange server.
    And no i do not work for Bunnings!
    Good Luck!

  • When opening my Outlook 2010 with new added e-mail account with Exchange Server, I have to click manually on my standard e-mail account for checking mail

    When opening my Outlook 2010 with new added e-mail account with Exchange Server supplied by my employer, I have to click manually on my standard e-mail account for checking mail. Do I have to upgrade my Microsoft Office 2010 or how can I make my Outlook
    2010 check all my four e-mail accounts without manually click on my accounts?
    Sincerely
    Ketil Hothorp

    Hello Ketil,
    Good Day...
    Seems to be the Issue is Syncing emails, now I would recommend you to Remove and Add the Account and try and check if the emails are getting synced automatically.
    Hope this is with Single User. If it is with Multiple Users then we need to check the permissions assigned.
    Regards,
    Praveen

  • Mail.app with gmail setup question

    hello,
    i have a large gmail account i have been using with mail.app for a long time and all works normally. however the "gmail style" is getting a bit out of control for me with the duplicates in sent/all mail. my processing is simple, after reading an email i archive it (so my inbox is always clean) so it means i move it to all mail. but since sent messages are also in all mail i'm pretty sure mail.app is storing these messages twice and whenever you search for messages you always have to filter through the duplicates. I think there are some newer ways to sync mail.app with gmail and i just wanted to ask what's the best solution to this common issue?
    thank you,
    rick

    thanks for the reply. yes that is what i do sorry if i wasn't clear enough. actually the messages coming in are not duplicated since once i move them to All Mail there is only one copy there in All Mail. it's the sent messages since they are saved once in Sent and once in All Mail. does that make sense and how do other deal with this?
    thanks again,
    rick

  • Has anyone managed to create an email account on the OS X mail client with Exchange 2007?

    Hi guys,
    the IT chaps of my new employer tell me that it is impossible to use the OS X mail client with Exchange 2007 servers. Is that correct? If so, does anyone know a workaround?
    Thanks
    Juergen

    jthurner wrote:
    Hi guys,
    the IT chaps of my new employer tell me that it is impossible to use the OS X mail client with Exchange 2007 servers. Is that correct? If so, does anyone know a workaround?
    Thanks
    Juergen
    No workaround needed, open Mail, Contacts and Calendars (in System Preferences) select Exchange, enter your email address and password, opt to setup Contacts and Calendars as well as mail and hit enter. That should set it up (assuming your apparently witless IT dept has setup the autodiscover record correctly at their end)

  • Configuring mail account in Mail App with restriction account on

    Hi there,
    How is possible to create an account in Mail App with the restriction Accounts enable?
    I explain myself. I configure all the iPads of my business with the restrictions enabled and select "Don´t Allow Changes" on the Accounts tab.
    Settings > General > Restrictions> ( Enter Passcode ) >Enable Restrictions> Accounts > Don´t Allow Changes
    It suppouses to prevent any change or create an account on Mail App, but I´ve found a couple of iPads with a Yahoo and GMail account configured in the Mail App while the restrictions still enabled.
    Of course, users doesn´t know the Passcode and any of the general setting where modified.
    Is there any other way ( via web perhaps, no high tech at all ) to configure an account in a restricted iPad?
    I´m using iPad 2 ( iOS 5.0.1 )
    I can´t figure out how, and it´s driving me crazy.
    Thanks in advance.

    Thanks gyrhead for the answer.
    I do have Installing and Deleting Apps turned on so users can´t install or delete anything.
    Guessing a four digits passcode in 10 attemps is very dificult, I discard that option.
    There is somehow to add a Yahoo o Gmail account with account Restictions Enable.
    Safari has no restriction indeed, except "private brownsing", so it might come from that way, but I can´t figured out how you might configure a Gmail o Yahoo account straight to the Mail App using just Safari...

  • Daily Problems with Mail Synchronizing with Exchange Server

    Our office uses Comcast Business Class Service, which uses 2007 Exchange Servers, for internet access and email. I upgraded my MacPro from 10.5.8 to Snow Leopard 10.6.2, using the Upgrade DVD. The upgrade process kept my original Leopard Mail settings, which were using POP. At that time, I had not problems with email.
    Unfortunately, awhile ago my Mail Preferences became corrupt, and I had to delete them. Upon relaunching Mail, the application wanted to use the new Autosync method to connect to the Comcast Exchange Server. Using POP was not an option.
    I must say that I am less than impressed with the way Mail integrates with Exchange Servers. I have daily problems, and experience these problems multiple times per day. When they happen, they slow my email communication down to a crawl; sometimes for as much as an hour.
    Specifically, the problem appears to be with Mail's ability (or inability) to properly synchronize with Exchange Servers. I get he spinning pizza icons next to the two Exchange email accounts I have in my Mailboxes source column. Opening the Activity window shows that the synchronizing process has slowed everything down. This results in not being able to send or receive email until the synchronizing is complete. And as I said, that can sometimes take as long as an hour.
    Stopping the process in the Activity window does not resolve the issue. Nor does quitting and relaunching Mail. Because the next time Mail attempts to connect to the Exchange Server, it will try to synchronize yet again. The problem has become so chronic, that I often have to resort to using Webmail while waiting of the synchronizing process to complete.
    Incidentally, the mailboxes that are synchronizing are empty! I am meticulous about keeping my Inbox, Sent, Drafts, and Trash mailboxes empty at all times. I do not use To-Do's, Notes, or Calendars of any kind on the Exchange Server, so there is no data to even sync!
    Has anyone else experienced this problem and found a fix? Other email accounts I have, which use POP or IMAP, do not have this issue. There does not appear to be away to abandon the Autosync Mail setup and revert back to POP. If there is, I will do it in a heartbeat.
    Thanks.

    Found a solution that works for me. Delete the problem account that's using AutoDiscover to sync with the exchange server. Before doing that, however, you will want to clear out the Inbox, Sent and even Trash folder for that account, as deleting it will remove the messages that currently reside in those folders. Just simply move them to another folder. You can move them back after re-creating the account.
    The second step is to re-create the account. Do this as you would normally, and enter in your name, username and password. THE TRICK: Press and hold the Option key when you click Continue. After Mail connects to the server and verifies your account information, you will then have a pull down menu that will allow you to choose Exchange Server, IMAP and POP. Simply select POP or IMAP, then fill out the rest of the fields.
    Viola! No more problematic Exchange Server syncing issues.

Maybe you are looking for

  • Creating Source System in BW

    Hi Friends, We are using BI, i have to create a source system(R3) in BW. Both sides we have users with enough profiles. In RSA1 --> Source System --> Create is using to create the sourse system. I am using automatic function at the time of defining t

  • How do I setup iTunes on a Windows computer to use movie files on a TC?

    I have succeeded in mapping my TC's hard drive to my desktop Windows (XP Professional) computer. I have also changed the iTunes Music folder location on that computer to the folder on the TC's hard drive that contains my MP4 movie files. My problem i

  • How to download code used in tutorials ?

    The tutorial "Using EJBs in Web Dynpro Applications" requires that TutWD_EJBinWD_Init.zip be downloaded from SDN, but I cant find it. From the "Web Dynpro Sample Applications and Tutorials" page, all the code can be downloaded, but downloading the co

  • Query Issue with Inner JOIN

    I need to create the following SQL query in Toplinks, but cannot figure out how to do it. I just want to get all Contacts that have their InitialEventID set to some integer, or have a mapping in the ContactEvents table set to that integer. The mappin

  • SRM-MDM 3.0 - prices for sales packages

    Dear forum gurus, I am setting up the SRM-MDM 3.0 catalogue and have setup a fixed sales package and configurable sales package OK. However, I cannot get the price details to be shown in the SUI. I am using contract prices for all items and have conf