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

Nov 7, 2014 1:34 AM in response to Luis_Mercado

This morning I created a fresh new admin account on my mac to see if my main admin account was the only one to be affected by this impossibility to work or not?


See the results, I restarted the mac, open only one session (the new one called TEST) and with just activity monitor, I only had 5-6Gb left!!!

Besides, today on my main admin account the kernel_task grew from 900Mb (yesterday) to 1,1Gb today... hope it won't be 6Gb at the end of the months!.


C'mon APPLE, do you read this post? Some people bought a 2600€ mac and more, and their macs don't even have a year!!!

thank you.


User uploaded file

Nov 7, 2014 1:45 AM in response to www.demis.nu

www.demis.nu wrote:


This morning I created a fresh new admin account on my mac to see if my main admin account was the only one to be affected by this impossibility to work or not?


See the results, I restarted the mac, open only one session (the new one called TEST) and with just activity monitor, I only had 5-6Gb left!!!

There is nothing wrong with that. Since Mavericks, the Memory Management system attempts to keep RAM full at all times, much of it inactive cached files that are there to prevent having to fetch them from the Hard Drive. As long as the MEMORY PRESSURE graph at the bottom remains green, you should totally ignore the amount of RAM used. If it's need for something else, the system will take care of that.

C'mon APPLE, do you read this post?

Very doubtful. It's way too long and Engineering is far to busy to be reading what is here. The only way to be certain that Apple will read anything you say is to send them Feedback, if you were part of the Beta Test use Feedback Assistant or open a free developer account and file use Bug Reporter.

Nov 7, 2014 1:59 AM in response to MadMacs0

thank you, I sent them a report on th feedback link your kindly left me. But not really sure an answer will be given.

So just to make sure I made myself understood, I know things has changed since maverick from the RAM area and that's what I wrote in my previous answers. Under maverick I didn't have this slowdown behavior, I didn't have to click on refresh bouton on "memory clean" or "memory boost" apps 10 times per hours, never. Maybe 2-3 times per day. Now, since I installed yosemite, it has changed.

Nov 7, 2014 2:15 AM in response to www.demis.nu

www.demis.nu wrote:


Under maverick I didn't have this slowdown behavior, I didn't have to click on refresh bouton on "memory clean" or "memory boost" apps 10 times per hours, never. Maybe 2-3 times per day. Now, since I installed yosemite, it has changed.

I haven't really been following this discussion and forget how I ever got here. My specialty is malware, so I probably dropped by to tell somebody they were infected.


But in another forum, I have had numerous discussions about this Memory thing for the last couple of years and we all agree that the use of utilities such as Memory Clean and Memory Boost are counter-productive and cause more harm than good. Lots of folks got used to needing them for previous OS's and I know they will tell you they have been updated for Mavericks and Yosemite, but that still doesn't take care of the fact that they inherently undo what the Memory Management system is trying to keep under control. Use them to keep track of memory usage if you must, but keep your finger off the button! If you have to use the refresh button continually, then something is very wrong. I correspond with hundreds of Yosemite users daily and none of them are have your issues. When I was having issue like this in Mavericks, a quick re-install of the OS took care of it for good.

Nov 7, 2014 7:01 AM in response to jkbull

jkbull - moving the icon to the upper right seems to make things much much happier compared to having it to the left. It does seem to make a difference.


Now I only seem to get slowdowns when I have tons of terminal / chrome tabs and windows open, but nothing related to tunnelblick or third party icons.


All, I agree that this isn't a minor bug. It's something that NEEDS to be tackled, and I'm not exactly thrilled either. It seems to be manageable in the meantime, though - at least in my case.

Nov 9, 2014 12:16 AM in response to Luis_Mercado

I tried this method and it was unsuccessful. I am not sure if I didn't remove external monitors correctly ( I don't have any idea if any are attached) but I did everything else correct. I entered Safe Mode, from there changed my fixed permissions and entered SMC then reset the PRAM. Nothing changed at all. It actually took me longer than normal to even write this response. My MAC is at a crawl.


What else could be the culprit?

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.