You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Guide: How to solve Yosemite memory leaks and CPU usage

I post this hoping to help those users who, like me, are experiencing high CPU usage and massive memory leaking with OS X core services and apps, leading to slow performance and battery drain.


I've tried everything mentioned, but found the right combination of steps to follow. I've tried this with seven different Apple computers, including mine, and has worked well so far. I applied this method yesterday to give these process a 24 hour window to fail again, so far everything good.


First step: disconnect any external or secondary monitors, if any is present. The video memory allocation leak can also happen if you have a system with an integrated card, like Intel, with no external monitors attached.


Second step: Shut down your machine and enter Safe Mode (press shift once you turn on your computer again, more info below). Once you're there, fix your disk permissions.


Guide of how to access Safe Mode: OS X: What is Safe Boot, Safe Mode?


Third step: From Safe Mode turn off your machine again and reset your System Management Controller (SMC). There are different methods, depending on machine, to do this. To know what method applies to yours read the following guide.


Intel-based Macs: Resetting the System Management Controller (SMC)


Fourth step: Once your machine completes a full boot after resetting the SMC turn it off again and reset your PRAM (THIS IS THE MOST IMPORTANT STEP, BUT THE PREVIOUS ONES ARE ESSENTIAL FOR THIS ONE TO WORK). The PRAM stores small bits of data that indicate our Apple computer how to interact with the devices connected to it, including monitors and video cards. It also affects software.


To reset it you should hold the OPTION, COMMAND, P and R keys in your keyboard immediately after turning on your machine again.You'll hear the start up chime, continue pressing the keys until the machine boots and the chime starts A SECOND TIME, then release. IF YOUR YOSEMITE INSTALLATION LOCKS UP AT A BLACK SCREEN AFTER THIS, DONT PANIC! It's normal, just turn off your computer and let it boot again.


More info about PRAM: OS X Mavericks: Reset your computer’s PRAM


Voila, reconnect your external displays and enjoy your system.


Message was edited by: Luis_Mercado

MacBook Air, OS X Yosemite (10.10)

Posted on Oct 23, 2014 10:45 AM

Reply
557 replies

Dec 26, 2014 1:04 PM in response to Luis_Mercado

I have unchecked 'displays have separate spaces' and still get an occasional crash to the user screen. Before trying all the options here, it was crashing multiple times per day but now it's getting pretty rare. I also stopped leaving the secondary account open since it was crashing so much. Haven't started leaving that open but I will try and see if it starts crashing again.

Dec 27, 2014 4:17 AM in response to Duke2211

Everybody is talking about memory-usage. I get the feeling that the problem of CPU-Usage by MAIL is moving out of focus.

I still have that problem of hard working fans and 100 % CPU by MAIL. Is that also 'working as designed' while writing a 2-line-email?


Why is Apple not taking care of all that? Are we only struggling with virtual problems? Don Apple and Sancho?

Dec 31, 2014 1:07 PM in response to Luis_Mercado

PRAM reset did not work for me, but after a ton of research the following fixed my machine:


Close Apple Mail.

Enter your Gmail Account using a Web Browser.

Check your Mailbox Labels for ‘/’ entries (e.g. [Imap]/Drafts .

Edit any ‘/’ Label you find. Remove the ‘/’ from the Label -> [Imap] Drafts.

Save your modfied label name(s).

Now launch Apple Mail.

This works. So problem solved for me. But, Apple really needs to fix their code to cope with a "/" in an IMAP folder name without going into a tight loop.

Jan 1, 2015 12:22 PM in response to Luis_Mercado

I was having the Finder routinely hanging at 100%+ when I was labeling and organizing large folders in Yosemite. I used Louis_Mercado's procedure but found that the situation was no better. It got so bad that I was using my Macbook Pro on Mountain Lion to organize my files via sharing, and tolerating that delay over whole-machine drag.


Today I discovered that when I use cover flow instead of column view, there's no hanging at all. So it seems Yosemite can't handle column view.

This reminded me that when I first installed Yosemite, I tried to drag a large number of files in column view to another folder in column view and the transfer froze and I was left with hundreds of 0 kB files that I could neither replace nor delete. When I tried the same transfer in icon view, there was no problem.


I'm astonished at this gaping hole in the OS operation. It has been weeks of frustration for me and a huge combined loss of productive hours. Every software update includes new features I don't need or can't see, along with some loss of features that I truly do use. This isn't the Apple I grew up with.

Jan 2, 2015 7:03 AM in response to Luis_Mercado

I've tried all of the suggestions here but am still crashing to the user login screen. I'm not having any problem with mail. My problem mainly shows up when I interact with Safari. I can just be opening a new window with Command N and next thing I know, I'm looking at the login screen without the orange √. I've been an Apple ONLY user since 1985 and now I'm wishing there was a new apple to replace the big apple that has become more like MS. What has happened to QC at Apple???

Guide: How to solve Yosemite memory leaks and CPU usage

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.