10 ms·
What Is Google Chrome Helper, and Why Is It Hogging My CPU Cycles?
- benaiah 12y agotl;dr extensions and plugins.
- peatmoss 12y agoDoes that come along for the ride if you use Chromium rather than Chrome? I'm not next to my Mac, but I believe I remember chromium being available through the homebrew cask system. I don't care if I don't have flash (actually I care to NOT have flash). So what reason would there be to not simply run Chromium? Or am I forgetting something useful that I'm likely using?
- _asummers 12y agoCertain YouTube videos use Flash instead of HTML5, particularly at higher resolutions. You can probably live without this, but it's worth noting.
- kuschku 12y agoNot anymore—all videos can be viewed in Chromium as well (except those with special DRM). They’re using DASH with small .mp4 snippets. It’s also the reason why videos don’t load completely anymore and why audio and video sometimes go out of sync. Also the reason why nothing works as expected.
- _asummers 12y agoThat's good to know, thank you. I knew that they transitioned to DASH but I didn't think that brought HTML5 everywhere. For live stream events (e.g. Apple's announcements), do they still use Flash?
- neilkathok 12y agoApple's announcements usually use the Quicktime plugin, at least if you're viewing on OSX. You can also usually extract the source stream and play it in another app if you dig through the markup/scripts/etc.
- cbhl 12y agoIt's worth noting that HLS is still currently being used for live events on YouTube, which requires the Flash player on Chrome.
- cloudwalking 12y agoThis is called Slice Bread. It also helps video buffer much faster. http://www.sfgate.com/technology/dotcommentary/article/Google-s-Sliced-Bread-cuts-buffering-gap-4303100.php http://www.sfgate.com/technology/dotcommentary/article/Googl...
- Nullabillity 12y agoSync, auto-updating, DRM. PDFium used to be Chrome-only but was recently open-sourced.
- pritambaral 12y agoSync works on Chromium (Linux) too, have been using it ever since I could.
- Mithaldu 12y agoShort version: It's the process that runs extensions and plugins like flash. Interestingly the solution to problems with it is the same as implemented in Opera 12 years ago: Configure the browser to run plugins only when the user explicitly activates them.
- gabrielhn 12y agoInfo on how to set "Click to Play" in chrome settings: https://security.berkeley.edu/content/how-do-i-enable-click-play-google-chrome https://security.berkeley.edu/content/how-do-i-enable-click-...
- deleted 12y ago[deleted]
- bronson 12y agoThis is awesome. Flash isn't used for anything anymore, can't wait until this is the default.
- joshfraser 12y agoBesides ads. And Google is first and foremost an advertising company. Don't hold your breath for that to become the default in Chrome.
- vertex-four 12y agoAnd that's pretty much why Google built Google Web Designer[0] - because advertisers are going to want their media to run on all browsers, even ones without Flash. [0] http://www.google.co.uk/webdesigner/ http://www.google.co.uk/webdesigner/
- SquareWheel 12y agoGoogle Flash ads are rare, and I'm sure they'd be happy to move away from them entirely in favor of HTML5 technologies.
- manifesto 12y agoRelated bugreport: https://code.google.com/p/chromium/issues/detail?id=373923 https://code.google.com/p/chromium/issues/detail?id=373923
- gchokov 12y agoSwitched to Safari for casual browsing because of similar issues and much better battery life on many occasions.
- tonyplee 12y agoBest solution for me is firefox + noscript. Super clean and fast.
- vacri 12y agoYou also get to see which sites are pulling javascript from 20+ other locations. Sometimes it's an almost-fun game of 'hunt the snipe' to find the javascript source that will present the actual content to you...
- recursive 12y agoWe have much different ideas of almost-fun.
- mcovey 12y agoIt really does get quite amusing when you see "oh, two blocked scripts and one looks like their CDN, no problem" and temporarily enable them. Then the page reloads and 13 more scripts are blocked, so you make some reasonable guesses and it turns out the site won't play the goddamn video unless you also load some disqus comments, send a referrer header, allow something that looks like an XSS attack and sacrifice a goat. I end up just leaving two browsers with different profiles loaded half the time, one of them tweaked to be as revealing as possible, for loading stuff I just want to see and don't want to play unblocking games with. Then when I close it all the cookies, localstorage, etc. goes poof. As he said, it's almost fun. Not actually fun.
- msoad 12y agoChrome Canary is good on Yosemite too
- 12y ago
- benguild 12y agoAFAIK this has only been a real problem since Yosemite. I noticed it when running the GM Candidates but never saw it in Mavericks.
- mariehaynes 12y agoI'm on Mavericks and I see it as my top CPU hog occasionally too.
- RossM 12y agoSame, often a few with one crashed.
- benguild 12y agoWell, everyone's downvoting me, but I swear I never noticed this until Yosemite. Either way, the weird thing is that if you go to the Window menu and hit Task Manager... you can monitor extension CPU usage, etc. I never had a problem until recently, and yet now I'm seeing red in the Activity Manager due to Chrome. It's bizarre.
- tjl 12y agoYou're probably downvoted because it's been pretty widely known that Chrome is a CPU hog on OS X. Checking the energy shaming feature, Chrome is pretty much always in the "Apps Using Significant Energy" section. I did a quick search on "Chrome energy OS X" and found a number of pages that mention it, all of which date back to Mavericks which is the first time energy usage was reported (separate from straight CPU usage). I only use Chrome if I need to use a site with Flash and I use the "Open Page With" item in Safari's Develop menu to open the appropriate page. Then, I quit once I'm done with it.
- tjl 12y agoYou're probably downvoted because it's been pretty widely known that Chrome is a CPU hog on OS X. Checking the energy shaming feature, Chrome is pretty much always in the "Apps Using Significant Energy" section. I did a quick search on "Chrome energy OS X" and found a number of pages that mention it, all of which date back to Mavericks which is the first time energy usage was reported (separate from straight CPU usage).
- inzax 12y agoAs shown on https://www.facebook.com/pages/Hacker-News/1558365107716690 https://www.facebook.com/pages/Hacker-News/1558365107716690
- lucio 12y agoWho is General Failure, and why is he reading my disk?
- Animats 12y agoMaybe plug-in execution ought to stop when the relevant page is in the background. At least on battery-powered devices. Some Flash content tends to run in the background, doing who knows what, probably something related to advertising, tracking, or general obnoxiousness. On phones, "Run in Background" is usually a privilege that's discouraged.
- keeperofdakeys 12y agoMany people expect to be able to listen to say, music on youtube in one tab, while browsing the internet in another. So it's a bit of a hard problem (not to mention that a plugin just keeps running, and you have no real control over it). However, all the major browsers try to throttle javascript in background tabs. Usually by making setInterval return only once a second.
- phodo 12y agoTwo things I've done which helped during the Yosemite beta cycle (that was when I first noticed this issue) and continuing to the present, were: a) turn on "click to flash" in chrome as menacit notes b) use the Memory Clean app [1], and with a "clean" automatically triggered when under 1 Gig ram is remaining. Note they recently updated it for Yosemite. [1]: https://itunes.apple.com/us/app/memory-clean/id451444120?mt=12 https://itunes.apple.com/us/app/memory-clean/id451444120?mt=... (I have no affiliation with this app)
- jedberg 12y agoI just installed memory clean the other day, and it seems to work well. I didn't turn on the auto-clean because I was concerned it would effect battery life. Any anecdotal data on that?
- phodo 12y agoNot yet - Recently, I have mostly used my laptop while plugged in except for relatively short unplugged intervals.
- eridius 12y agoThe app is worthless. Actually, it's harmful. Throw it out. See my other comment for a detailed explanation: https://news.ycombinator.com/item?id=8474107 https://news.ycombinator.com/item?id=8474107
- jedberg 12y agoThanks for the reply. I've actually removed it from my system after seeing that all it would do is remove inactive memory.
- codeka 12y agoWait, isn't "Memory Clean" just one of those apps that allocates a huge chunk of memory, forcing the OS to page everything else to disk? Those things are snake oil, they don't improve anything and in fact are often worse than doing nothing at all...
- renaudg 12y agoOn the topic of Chrome performance tips, if you always have dozens of open tabs in different windows, this nifty extension will freeze them out (unload them) until you actually want to look at them again : https://chrome.google.com/webstore/detail/the-great-suspender/klbibkeccnjlkjkiokjodocebajanakg?hl=en https://chrome.google.com/webstore/detail/the-great-suspende... In theory, this is what memory paging is for. In practice, this is higher level and seems to work much better.
- judk 12y agoI find it flaky. It loves to constantly suspend Calendar and make miss appointments.
- bitcuration 12y agoI disabled it after a while. Its time lapse can't be changed although available from setting. It tends to suspend tab within a couple minutes and constant reload when switching between tabs. Very poorly developed, a nice idea though. A similar addon in firefox has done this long time ago and I can keep over hundreds tabs in firefox almost all the time, while only a few is loaded.
- msoad 12y agoIt doesn't go to (Not Responding) mode if you use Chrome canary with OSX Yosemite
- fifthesteight 12y agoi have been wrestling with this for weeks, both professionally and personally. I'm fairly certain that in this process/before we noticed the problem we burned up one of our machines. The thing is, there's no flash involved. We've narrowed it down to css3 transitions running amok. In other cases we've poorly constructed JS loops causing problems. Recently i've noticed it on everything (even gmail, drive and calendar) in chrome. No problems elsewhere, although in a side-by-side comparison with mozilla showed mozilla nearing similar cpu usage (30-60%) but never sustained (lasting seconds) Not sure if this helps anyone, or if this is just 'duh.' The css3 transitions being involved i have not read out in the wild, so i thought i'd toss that idea out.
- gojomo 12y agoWhile I haven't noticed 'Chrome Helper' problems, sometimes Chrome slows my machine with a ton of 'lsof' processes. I suspect an updater going haywire; more details here: https://productforums.google.com/forum/#!msg/chrome/26gO8swnI8E/8ySgJvsejCAJ https://productforums.google.com/forum/#!msg/chrome/26gO8swn... Anyone else seen or worked-around this? (It's been a while since it's noticeably recurred, so maybe it's been fixed.)
- newman314 12y agoOne of the most annoying things about Chrome is that I can't kill individual tabs via the task manager. Occasionally one tab will go crazy, then I have to click around trying to figure out which tab. Task manager can only close group of tabs. I know this isn't the same issue just a whole bunch of annoying things about chrome
- wamatt 12y agoChrome actually has a built in Task Manager which can be super useful for this sort of thing. For example, it allows one to see CPU & Mem usage per tab. It also has the ability to kill problematic tabs, extensions and background processes with ease. Chrome's Task Manager can be found under Menu Icon -> (More) Tools. In fact, this feature was being used often enough, that I ended up assigning it a shortcut. (for me: command-shift-1)
- speeq 12y agoDoesn't it have a default shortcut? I think "Shift + Esc" opens it.
- mh- 12y agoon windows. doesn't on mac for some reason.
- newman314 12y agoDid you read what I wrote? You can kill groups of tabs that are part of the same process. BUT that does not mean that you can kill individual tabs via the Task Manager and the main source of my complaint.
- alistair75 12y agoShort version: the Wired journalist doesn't really understand what they're talking about. I can't believe no-one has pointed this out yet. There is a Google Chrome Helper process for each tab you have open, for each extension you have installed, for each plugin that is currently running and one to talk to the GPU in your system. If you enable "Click to play" and open Chrome with one empty tab you'll still have at least two Google Chrome Helper processes. One for the empty tab and one for the GPU process. If you've installed any extensions you'll have more. There is no way to "destroy the Google Chrome Helper". That article is very badly written.
- vdfs 12y agoThank you for saving our time!
- ahoge 12y ago> There is a Google Chrome Helper process for each tab you have open, for each extension you have installed, for each plugin that is currently running and one to talk to the GPU in your system. You can see the CPU/RAM/network utilization of each in Chrome's task manager. You can open it via Shift + Esc or ☰ -> More Tools -> Task Manager.
- vteven 12y ago> In many cases, the plug-ins and processes they’re handling aren’t listed by name because the APIs don’t allow it. Google Chrome Helper is a martyr. The author's chief complaint is that Google Chrome Helper obscures the source of crashes/hangs, making diagnosis that much harder. The article is badly written, sure; but the workaround does allows you to isolate suspect content from everything else.
- Aldo_MX 12y ago> That article is very badly written. I would not claim this, I would take the article as an example of what the average user thinks it's happening in their computer, and I would use the article as a reference to make things clearer to the users in the future.
- deleted 12y ago[deleted]
- deleted 12y ago[deleted]
- NinjaWarrior 12y agoThis article won't help much. Many people are saying this issue occurs without any plug-ins. I doubt it is the true cause. There are many Google Chrome Helper CPU eating up issues. Some are obviously not plug-in and extension related. Chrome for Mac is almost useless because of this issue. I first encountered this just after Maverics release and Google has not fixed it until now. Very odd. Issue 373923 - chromium - Google Chrome Helper Process Taking up >100% CPU on Macs https://code.google.com/p/chromium/issues/detail?id=373923 https://code.google.com/p/chromium/issues/detail?id=373923 Issue 397642 - chromium - Google Chrome Helper (not responding) on Yosemite Beta 1 https://code.google.com/p/chromium/issues/detail?id=397642 https://code.google.com/p/chromium/issues/detail?id=397642 Issue 399960 - chromium - Video playback, CSS transitions, and other GPU operations drastically heat up 13" Retina Macbook Pros https://code.google.com/p/chromium/issues/detail?id=399960 https://code.google.com/p/chromium/issues/detail?id=399960 Issue 367593 - chromium - Multiple Google Chrome Helpers are spawning and slowing severely slowing down my browser https://code.google.com/p/chromium/issues/detail?id=367593 https://code.google.com/p/chromium/issues/detail?id=367593 Google Chrome Helper using far too much CPU power - Google Group https://productforums.google.com/forum/#!topic/chrome/LfBqIlfFoSo%5B1-25-false%5D https://productforums.google.com/forum/#!topic/chrome/LfBqIl...