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

Apr 14, 2015 5:47 AM in response to Luis_Mercado

Hello!


Unfortunately it does not help me. I don't have issues with memory leaks, but the high CPU usage and, consequently, slow work of all applications.

I had to choose "Reduce Transparency" for my Early 2013 Macbook Pro, with NVIDIA Video card and RAM 16GB to have normal performance. If I do uncheck "Reduce Transparency" the performance of my Macbook become terrible. Scrolling, switching between applications become very slow!

I wrote feedback to Apple about it.

Apr 18, 2015 2:14 PM in response to Luis_Mercado

Hi Luis


Thanks for sharing. I followed everything to the letter but to no avail. Finally I decided to re-install Yosemite but even that did not help. Did a clean install from a USB stick and that did not help either


Finally, after two days I found the problem: The iCloud bookmark synchronisation with Safari.


Turning this option sees the memory usage skyrocketing. 10GB within 5 minutes. Turning it off makes everything normal again. I was already thinking of using Chrome as my default browser..


Hope people can use this tip as well


Settings/Icloud/Safari - off

User uploaded file

Apr 18, 2015 7:37 PM in response to franknoort

Thanks for posting that as I have not seen that solution proposed before. I suspect that if you walked away from your computer for a day or so, the sync would have completed and memory use would subside. There are certainly many time and memory consuming activities associated with a Yosemite upgrade. Mine took about 24 hours and I have yet to activate iDrive for a variety of reasons, so would not have noticed that.

May 1, 2015 1:34 PM in response to sashikanths

sashikanths wrote:


Does this solution work on OSX mavericks too ( v10.9.5 ). I have MacBpro with 8GB and I am having memory issues.

I doubt that. Starting with Mavericks, the OS attempts to keep RAM as full as possible for maximum speed and efficiency (so it doesn't have to read your drive all the time). To see if you need more RAM open Activity Monitor (found in /Applications/Utilities/), click on the Memory tab to keep an eye on the graph at the bottom called MEMORY GUAGE then open How to use Activity Monitor and click on the Memory button. As long as it's stays green most of the time, you are not having memory issues.

May 19, 2015 6:22 PM in response to Luis_Mercado

Well。I come here to report a good news。My machine is macbook pro late 2011。I had install OS X 10.11 for about one year,keep freezing。

After I tested 10.10.2 ,I change my hard disk and back to 10.9。because I had to use a few seconds to type just each words on 10.10。。。for about half a year(oh my godness)

But 10.10.4 beta2 became much better,computer got freeze after 2 hours。

And I had Continuous worked on 10.10.4 beta3 for 5 hours,and it didn't got freeze。


I believe Apple will repair this bug on 10.10.4 release。(at least for MacBook Pro late 2011)


😢 thanks apple engineer,I hope apple can do better on 10.11。😉

May 25, 2015 5:52 AM in response to Luis_Mercado

Thanks for posting this. I have had very strange video effects on the screen, Contacts and Mail (accountsd) hogging CPU and creating circular loops in console... I'd done a permissions fix and a PRAM reset, but to no avail, however the steps in this order have seemed to clear a whole range of issues so far (3 hours in, but a noticeable change).


Thanks again for posting.

Jun 2, 2015 10:43 AM in response to Luis_Mercado

Thank you so much! Solved my problem too. mds, mds worker, kernal_task, and other processes would occasionally go to 100% or more and would cause my macbook pro to crawl and overheat my cpu and gpu. After following your instructions, everything was working fine until I used the spotlight search app "Alfred". I realized using Alfred would cause the mds and mds worker to go crazy, so I removed the app and so far everything is working really good.

Jun 15, 2015 10:01 PM in response to Luis_Mercado

This soled it for me, at least immediately after reboot; and I've tried the PRAM reset first before I stumbled upon this article... but it seems the complete instructions here worked wonders. Quite sad, really--hopefully Apple squashes this bug quickly... I've filed a report as i'm sure others have as well.


Thanks for the great instructions.

Jun 27, 2015 7:18 AM in response to Luis_Mercado

This didnt work for me at all, as a matter of fact now that I have done the steps I have less RAM than ever-I used to have 2.7gb on startup and it floated down to single digits over a day or two, now I start with less than 1.3Gb and am in single digits almost immediately. Perhaps I did something wrong so I am going to try again but any other advice is welcomed-Mid 2009 Mac Book Pro. 4Gb ram-THANKS

Jun 27, 2015 4:47 PM in response to kellejil

Yosemite (and Mavericks before that) is designed to keep RAM as full as possible. You should ignore those numbers, open Activity Monitor to the Memory Tab and watch the MEMORY PRESSURE graph at the bottom. Details in Use Activity Monitor on your Mac.


If you are having issues then best to start a new discussion outlining them in order to attract a new set of troubleshooters as most have left this months old, too long discussion. That's just the way this Forum works best.

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 ID.