1 7 8 9 10 11 Previous Next 240 Replies Latest reply: Jul 7, 2014 9:54 PM by Saxman Go to original post
  • 120. Re: Safari Web Content high CPU usage
    borbye Level 1 Level 1 (5 points)

    I believe the combined force of complainers, believers, nerds and amateurs might eventually make this thread very usuable for all bugged by high CPH or RAM usage related to Safari.

     

    In my case I have fought the issue of high Safari CPU usage for a long time trying all the many options found on the net. The biggest issue was Facebook which would take Safari to a grinding halt while Firefox worked just fine. For me the solution turned out to be a two step process.

     

    Step one was to reinstall Mountain Lion - not a clean install - just a dirty one on top of the old copy. Safari / Facebook became a usable combination again but most of the time still at a CPU usage of 30+ %.

     

    Step two was done when I finally nailed the culprit and it turned out to be the extension FastestTube. Turning this extension off resulted in a CPU usage drop to 5% or below....

     

    Try it, test it and see if you can get the same result!

     

    I wrote to the developer at addons@kwizzu.com but they have not cared to answer. Maybe because they know there is a problem and dont want to admit or maybe not.

     

    Who knows, who cares as long as my beloved Safari is back in a healthy shape!

     

    :-)

  • 121. Re: Safari Web Content high CPU usage
    Chrisndeca Level 1 Level 1 (10 points)

    There may be two issues here. One involving extensions, and the other with too many tabs open.

     

    Safari should have a mode that suspends the all tabs over say 20 that have been opened. So once you get to 21, tab 1 goes into a held state until you come back to it and then it attempts to update itself. (the actuall tab that goes into the held state would be whichever one has been "idle" for the longest amount of time). Having all these tabs try and be "active" at all times is a major memory hog but sometimes I have to do it as I am tracking certain things down on the internet. It's is just dumb that a simple browser can cause this much havoc from having too many web pages open at once.

     

    The reason I use Safari is because no other browser supports Applescript (to the degree that Safari does). If I could get the source of a webpage from Firefox or Chrome, then I might go to one of those. The other big feature that I would be missing would be the ability to call some Javascript code from within the browser itself (handy when you want to count the number of images that javascript see's on a page). There are workarounds for both of these two things, but I worry that it would majorly slow me down.

     

    Please Apple, you are only hope to fix safari!

  • 122. Re: Safari Web Content high CPU usage
    JohnMM Level 1 Level 1 (35 points)

    I'm not sure the idle tabs idea would work, or isn't already partly implemented. I suspect certain sites that perform periodic updates while active do them in a quirky way that doesn't disturb Chrome or FireFox. It's just unclear whether Safari is less forgiving of those quirks, or is buggy itself. But if one of the active tabs was updating while the others were idle, it might well bring the browser grinding to a halt anyway.

     

    I've scanned for the basic troubleshooting steps in this discussion, but either they're not here, or I missed them. They include:

     

    • Disable all extensions; uninstall the ones you don't use
    • Saving existing tabs as bookmarks (NOT as a reading list) if you want to reproduce them (otherwise just quit the browser).
    • Quit Safari (or Force Quit)
    • Open Safari again
      • the default behavior is for Safari to open one tab with your preference of page; if all your tabs open again automatically, Quit Safari again, and reopen it with the shift key held down
    • Reset Safari for all settings except your passwords and Autofill
    • Of course sufficient RAM and hard drive space are assumed, so it's worth checking, if you haven't

     

    One way of testing the waters is to open each page, one at a time, and leave it open for a certain period; and to add in one extension at a time. I presume that it's obvious, but it wouldn't be very productive to open all the tabs you had opened before to see what happened.

     

    While having this problem intermittantly, I've observed a few things.

    • Having a Facebook page open makes it more likely that Safari overutilizes CPU
      • I also have Chrome open in the background almost all the time
        • Facebook pages report problems several times each week in Chrome
        • While checking Safari CPU utilization in Activity Monitor, I have several times noticed Google Chrome Renderer at 100%, seemingly concurrent with Facebook problems
    • Another culprit appears to be one of several google.com pages
      • Google Drive is almost always open when Safari has problems
      • gmail some times reproduces the same problems

     

    I also suggest checking whether DivX has been installed before, as some here report (and to uninstall it completely, which is documented elsewhere); and that earlier versions of the Spotify app cause problems either because of processes launched when the computer starts, or when the app is running. Check your Login items to make sure no unknown or abberrant process is launched on startup.

  • 123. Re: Safari Web Content high CPU usage
    alonsojcg Level 1 Level 1 (0 points)

    I follwed leoofborg's advise and installed ClickToPlugin.  My Safari Web content memory use went from 2.76 GB to less than 600 MB INSTANTLY!

     

    I will try other thigs to try to correct this, but that is the greatest and best change I've seen after trying any thing.

  • 124. Re: Safari Web Content high CPU usage
    wpentropy Level 1 Level 1 (0 points)

    I had the same issue with safari web content high cpu usage on a mid 2010 MBP (10.8.3). I installed ClickToPlugin, however, surfing the web with all plugins initially turned off isn't that much fun.

     

    This morning I tried to uninstall all divx content and additionally uninstalled other third party codecs and everything is back to normal. Even with several flash videos playing simultaneously safari web content is at 60% cpu usage. This is only the first impression but hopefully it ll stay this way...

     

    In detail I uninstalled Periana which contains all kind of codecs and I cleaned the remains of a forrmer DIVX installtion with the free version of cleanmymac and rebooted.

     

    For playback of special codecs I still have VLC installed which doesn't seem to affect safari web content.

     

    JohnMM wrote:

     

    I'm not sure the idle tabs idea would work, or isn't already partly implemented. I suspect certain sites that perform periodic updates while active do them in a quirky way that doesn't disturb Chrome or FireFox. It's just unclear whether Safari is less forgiving of those quirks, or is buggy itself. But if one of the active tabs was updating while the others were idle, it might well bring the browser grinding to a halt anyway.

     

    I've scanned for the basic troubleshooting steps in this discussion, but either they're not here, or I missed them. They include:

     

    • Disable all extensions; uninstall the ones you don't use
    • Saving existing tabs as bookmarks (NOT as a reading list) if you want to reproduce them (otherwise just quit the browser).
    • Quit Safari (or Force Quit)
    • Open Safari again
      • the default behavior is for Safari to open one tab with your preference of page; if all your tabs open again automatically, Quit Safari again, and reopen it with the shift key held down
    • Reset Safari for all settings except your passwords and Autofill
    • Of course sufficient RAM and hard drive space are assumed, so it's worth checking, if you haven't

     

    One way of testing the waters is to open each page, one at a time, and leave it open for a certain period; and to add in one extension at a time. I presume that it's obvious, but it wouldn't be very productive to open all the tabs you had opened before to see what happened.

     

    While having this problem intermittantly, I've observed a few things.

    • Having a Facebook page open makes it more likely that Safari overutilizes CPU
      • I also have Chrome open in the background almost all the time
        • Facebook pages report problems several times each week in Chrome
        • While checking Safari CPU utilization in Activity Monitor, I have several times noticed Google Chrome Renderer at 100%, seemingly concurrent with Facebook problems
    • Another culprit appears to be one of several google.com pages
      • Google Drive is almost always open when Safari has problems
      • gmail some times reproduces the same problems

     

    I also suggest checking whether DivX has been installed before, as some here report (and to uninstall it completely, which is documented elsewhere); and that earlier versions of the Spotify app cause problems either because of processes launched when the computer starts, or when the app is running. Check your Login items to make sure no unknown or abberrant process is launched on startup.

  • 125. Re: Safari Web Content high CPU usage
    eyelessish Level 1 Level 1 (5 points)

    Try using maps.google.com for a while and Safari soon becomes unusable (esp. if using it in more than one instance). Safari has, however, never been good on handling such web content ... . Apple & Google apparently cannot afford to spend money on fixing the most obvious problems they have.

     

    I am increasingly forced to use several browsers in order to get anything done. Opera is a good choice, but also Firefox. Chrome is getting less good in my experience. Safari is still quickest/best before it gets stuck as it always do after a while ... no matter what system/machine you have.

  • 126. Re: Safari Web Content high CPU usage
    UnderTheNeath Level 1 Level 1 (0 points)

    I'M SITTING HERE WRITING THIS WITH MY MOUTH WIDE OPEN right now! ! Does anyone know how many hours I have been reseraching this problem?? And all it took was simply logging out of google ffs? Like really? Not a single discussion or forum I've been to over the last 5-6 hrs mentions a word about this google safari flash plugin problem - not one! I stumbled upon this thread by pure dumb luck and boy am I shocked to learn that this is the culprit for my mac overheating so much lately! I'm just so insanely stunned right now! I thought it was the java game applets while I'm on Pogo, but it wasn't! I just signed out of google (I'm still playing a java based game) and my CPU reading just went from 189% down to 4.2% - are you kidding me??

     

    I don't understand how no one knows about this! Like *** is up with google and flash? I just spent half the night doing 18 different things to try and lower the CPU usage when all it took was a millisecond to log out of my google account? No one thought to fix a known problem or at least share with the world a workaround until they did? 


     

    That's ignorant...people are just ignorant. 

     

                                      THANK YOU VERY MUCH FOR HELPING ME YOU GUYS!

  • 127. Re: Safari Web Content high CPU usage
    eyelessish Level 1 Level 1 (5 points)

    I did get the new MBA with core i7 and 8 GB RAM and now it is no longer totally impossible to use Google maps in Safari - it is still not fast, but I do not need to restart Safari & the computer every day ... .

  • 128. Re: Safari Web Content high CPU usage
    Saxman Level 2 Level 2 (175 points)

    I don't know, I just signed out of Google, and neither my Safari or Safari Web Content went down at all... Oh, and what is "Google FFS"?

  • 129. Re: Safari Web Content high CPU usage
    iRomel Level 1 Level 1 (0 points)

    I was having problems with Safari Web Content gobbling up memory. I have removed all extensions, removed flash, reset Safari and everything but still the same thing is happening, at 3 tabs open I get like more than 250MB used up by the the Safari Web Content.

     

    I have read your post and immediately disable Safari bookmark sync from System Pref. I am running 10.7.5 by the way on an early '08 BlackBook 2.4C2D with 4GB RAM. Voila! Safari web content is at around 150+MB with the same 3 tabs open. Reasonable enough.

     

    Thanks for this useful post.

  • 130. Re: Safari Web Content high CPU usage
    OmBass Level 1 Level 1 (0 points)

    How is it that YEARS have gone by and this problem still persists? Apple wants to say it's Adobe's Flash Player. Except Chrome, Firefox, etc dont have this problem. They can all have multiple tabs open and not peg the CPU and suck up gigabytes of memory. They dont spin the fan up and drag the machine to a halt. Only Apple's own default browser does this.

     

    IT'S ONLY SAFARI!!! And it's been that way for many years now.

     

    Why is this problem not fixed?

     

    It seems rediculous that people are doing things like wiping their machine and reinstalling the OS to try to fix this problem... when all the other broswers JUST WORK. No tweaks, no hacks.

     

    I would also like to add that I REALLY LIKE SAFARI. It's my favorite browser. I love the OS integration. But I CANNOT STAND MY FAN BEING ON CONSTANTLY. Nor my CPU being taxed 24/7. Nor my memory being gobbled up.

     

    Last night I checked, and Safari had eaten up 6.7GB of memory!!!! For having tabs open?? Really???? This morning, after closing some tabs, its down to a 'respectable' 2.57GB

     

     

    Safari 6.0.5 / 10.8.4 / MacBook Pro Retina 15" / 2.7GHz i7 / 16gb RAM / 768gb SSD

  • 131. Re: Safari Web Content high CPU usage
    JohnMM Level 1 Level 1 (35 points)

    A few of points:

    • it is possible to get Chrome to misbehave and to dominate CPU usage with a minimal number of open tabs; I don't know about FireFox because I don't use it often (it is deficient, for me, in a number of other ways).
    • I agree that, as a solution, reinstalling the OS is a poor choice, partly because people tend to migrate or reinstall things that might have caused the original problem; and because it is time-consuming and ignores diagnosis and troubleshooting.
    • Third-party add-ons, particularly those that launch with the System, are greatly suspect, but rarely discussed.

     

    In recent years, these discussions have seemed to lean more toward, "why is Apple the problem?", than reflecting on systematic troubleshooting. Maybe there's a place for that; people have to find a place to vent their frustrations. But, for instance, if I had two cars that I fueled at the same gas station, and one always had problems with bad fuel, but the other ran reasonably well, would I blame the car or the fuel?

     

    So is the symptom of using excessive RAM in Safari with multiple tabs open due to Safari alone? ...or to some persistent HTML in one of the tabs? ...or to a 3rd party process (initiated by, or independent of, a web page) conflicting with one of Safari's processes? And if the problem is with the HTML or another running process, is it a problem because Safari has a bug, or the because HTML or the process makes a questionable programming call?

     

    I'm not trying to defend Apple here. I'm trying to point out that the issue is complex enough so that one can't easily assign blame. I'm also not dissing you - this is a frustrating problem that takes a lot of effort to solve, so I can understand you wanting to blame Apple.

     

    Right now, I'm running 19 open tabs and Safari drifts between 2% and 6% CPU (while two Google Chrome Renderer processes consume more than 20%). I still have a few intermittant problems, but have eliminated most instances by using some of the suggestions in this discussion.

  • 132. Re: Safari Web Content high CPU usage
    Saxman Level 2 Level 2 (175 points)

    Yes Jon, it could be this or it could be that, but the fact that a large number of users have been having these same issues, for years now, does imply that perhaps Safari has some weakness. Or, perhaps there are a couple factors that are highly likely to be causing this, that may be easily corrected. If this is so, I would expect that Apple could at least be a bit more hands on, and share these fixes with the many users experiencing great frustration.

     

    I would think that a browser created "in-house", with an Apple computer, and Apple OS, etc, would operate more efficiently than a third-party one, such as Chrome, which these days does work better for me, than Safari.

     

    I would also hope some Apple employees would be monitoring these user forums, as it's a no-brainer that any company wants to know how it's customers are doing, what things they are digging, and what things they are having problems with. Plus, it's a business win/win, as it would be appreciated by their customers, and also cut down on what I'm sure must be many calls to their phone-support techs.

     

    I've been quite frustrated with Safari, as I prefer to use it, but it just becomes unworkable, and more quickly than other browsers I have. In fact, when 5.1 first came out, it was a nightmare, and when I called in, a higher level tech person told me they were aware of the bugs, and were working on a fix ASAP. However, when I called back a few weeks later, as the issues hadn't as yet been addressed, the people I spoke with denied they ever acknowledged any issues, or bugs with it. Well, I don't think I was hallucinating that night, and do think they may have been told to say that to people, cause hey, it's pretty easy to say "it's not Safari, it's something you're doing"....

  • 133. Re: Safari Web Content high CPU usage
    OmBass Level 1 Level 1 (0 points)

    I cant force Chrome or Firefox to misbehave like Safari. Right now I have at least 50 tabs open in Chrome. No fan. No CPU taxing. Yes, each tab uses memory. But they tend to not tax the CPU when you're not using them. And the fan never ramps up.

     

    But as soon as I change to Safari and restore my last 20 tab session? The fan instantly kicks on. The CPU instantly kicks up. These are not 20 tabs with excessive Flash content. In fact, I cant see any Flash content at all.

     

    And Facebook really exasperates the problem w/Safari. The more you scroll down in the feed, the longer your session, the more memory and resources Safari eats up. But I can do the same thing in Chrome or Firefox with no problems. No fan, no CPU, no memory leaking or hogging. Why is that?

     

    And I am definitely not alone here. Others have said the same thing about Facebook. Its so bad that I just cant use Safari for Facebook. Not for more than just a brief period. It just doesnt seem like it should be this bad. Why can the other broswers do what Safari cant? Why does Safari tax the CPU and spin up the fans when the other browsers dont?

     

    I have disabled all 3rd party extensions. I have the latest OS and Flash player updates. And I'm not about to reinstall my OS. This is a brand new machine, and this problem has persisted pretty much as long as I can rememeber with Safari. Multiple OS'es, multiple machines, multiple processors. The only consistent factor between them all is SAFARI. So please tell me how I am supposed to supect anything other than Safari. Its been years and years of this, and I keep thinking "they'll eventually fix that..." but here we are still dealing with it.

     

    And the crap part is, I love Safari! So I keep coming back to it. I want to use it as my default browser. In fact, despite these problems, it still is. But unless you just wanna keep it simple with like maybe under 10 tabs, and not use Facebook... it's pretty difficult to ONLY use Safari (like I would like to).

  • 134. Re: Safari Web Content high CPU usage
    JohnMM Level 1 Level 1 (35 points)

    What helped me:

     

    • the biggest is to unistall DivX and all its traces; though it has an uninstaller, pieces of it persist in both the main and the user Library folder in multiple subfolders; and it has many versions.
    • when I say "3rd party processes" I don't just mean Safari plugins.
      • Are there items in your menu bar that may conflict (audio such as Airfoil, notification such as Growl, etc.)?
      • When you examine your login items in the Users & Groups System preferences, are there items that launch which you don't recognize or understand (or that you don't need)?
    • in Activity Monitor, when you scan the list of "all processes", are there items that you are surprised by, or don't fully understand? (many obscure things will be system processes, and typing their specific name into  a search engine will quickly identify them; but some might be zombies launched from long dead programs)
    • Even if you have a new computer, did you use the utility when you started to migrate all your old apps and settings? That utility also brings over all the old cruft (preferences, application support, startup items, etc.) from every previous computer from which you migrated.
    • Eliminate all plugins from the Internet plugins folder that you don't explicitly use.

     

    I haven't experienced Safari dominating CPU usage in weeks after checking the things I listed. But I haven't found one particular culprit, either. YMMV.

1 7 8 9 10 11 Previous Next