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

Feb 13, 2015 6:17 PM in response to Yuck9

Yuck9 wrote:


Then tell us why when user's that go back to 10.9 the problem goes away,if this was Implemented back then ?

IMHO, the problem is Apple Mail 8.x. I suppose you could argue that's part of Yosemite, but that still does not make it a Yosemite Memory Management issue.


Apple Mail problems started in Mavericks with some simple changes to accommodate Gmail. Not only are those fixes insufficient for Gmail users in Mavericks today, things got worse in Yosemite. I can't say for certain, but I think they may have really messed things up when adapting Mail to using iCloud sync. Almost all the handful of users I deal with who are still having even more serious issues with Mail than are even reflected here are using iCloud and seem to involve large attachments, but it's really too early to make any real conclusions about this. Be assured that all such issues are being documented in bug reports to Apple which will hopefully and finally point Engineering in the right direction.

Feb 16, 2015 1:53 PM in response to Csound1

No. He did not say that. The problem is still there in the one or other way and it is called Yosemite. Personally I don't have those bad issues (they are just minor) but still you see people walking in with "this solved my issue". And some "I still got issues". Counting this and a couple of (here) unrelated issues I have to concur with many here: Bad job, Apple! Very, very bad job. Steve is gone. He'll not come back :-(

Feb 16, 2015 2:09 PM in response to Luis_Mercado

Luis_Mercado's great suggestion bought me two days of peace on my mac mini, and MacBook Air, all 2012. Unfortunately, it didn't work with my wife's 2012 MacBook Pro at all, and my MacBook and Mini both went back to their old tricks. Update 10.10.2 solved my memory leak problems ultimately, but left all three machines somewhat sluggish. In addition, all machines stopped downloading mail from Godaddy servers.


The nuclear option worked well: I broke down, backed up all of my information on a mirrored drive, and reformatted my hard disk. Then I reinstalled OS X and manually brought back my apps and data. I wanted control of what data and apps came back, so I didn't use Time Machine.


It was a day of work, but it's like a new computer.

Feb 17, 2015 1:45 PM in response to MadMacs0

Gotcha MadMacs0. I had already done that a few days ago, but in reading the original post, it seemed like I need to specifically do in while in safe mode. Is it essential to do it while in safe mode?


I followed all the steps, (except for the fact that I did the repair permissions earlier), but my WindowServer is still using up 50%+ of the CPU power, and the machine is running sluggish. Before upgrading from Snow Leopard to Mavericks, this machine was like lightning. I used to have 16 spaces filled to the brim with 50+ windows open (Numbers, Keynote, skype, videos playing, two different browser [Chrome, Firefox] with multiple tabs open), and the machine NEVER skipped a beat.

User uploaded file

Then I wanted to install ThinkorSwim (Stock trading platform by TD Ameritrade), but it would not work on 10.6, so I had to upgrade to Mavericks... It was slow, so the Apple support team told me to update the OS to Yosemite, so I did, and now I get the color pinwheel regularly, and the computer is almost unusable. I really don't want to part with it. Any suggestions?

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.