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!