{"video_id":"NFT9rKt7HpI","title":"Google Chrome is a MEMORY HOG","channel":"Techquickie","show":"Techquickie","published_at":"2020-05-05T14:58:16Z","duration_s":312,"segments":[{"start_s":0.0,"end_s":3.08,"text":"Although there are actually lots of web browsers out there","speaker":null,"is_sponsor":0},{"start_s":3.08,"end_s":9.84,"text":"to choose from, odds are that unless you're on an Apple device and using Safari, you're probably using Google Chrome.","speaker":null,"is_sponsor":0},{"start_s":9.84,"end_s":14.36,"text":"In fact, in late 2019, it was estimated that a whopping 64%","speaker":null,"is_sponsor":0},{"start_s":14.36,"end_s":18.62,"text":"of users across devices were using Chrome. And why not?","speaker":null,"is_sponsor":0},{"start_s":18.62,"end_s":22.64,"text":"It's got an easy to learn interface and it's known for being a speedy performer,","speaker":null,"is_sponsor":0},{"start_s":22.64,"end_s":25.68,"text":"but it has one major drawback that you might have noticed,","speaker":null,"is_sponsor":0},{"start_s":25.68,"end_s":32.08,"text":"especially if you're running a lower end computer. It turns out that Chrome is a massive memory hog.","speaker":null,"is_sponsor":0},{"start_s":32.08,"end_s":37.64,"text":"I mean, sure, exactly how much it uses depends on how many tabs you have open and what exactly you're doing,","speaker":null,"is_sponsor":0},{"start_s":37.64,"end_s":41.56,"text":"but it's pretty common to push things north of two gigabytes of memory usage","speaker":null,"is_sponsor":0},{"start_s":41.56,"end_s":45.0,"text":"with just a dozen tabs. And if you're a heavy multitasker","speaker":null,"is_sponsor":0},{"start_s":45.0,"end_s":50.84,"text":"or you just have terrible tab discipline, you can quickly start straining your system's resources.","speaker":null,"is_sponsor":0},{"start_s":50.84,"end_s":54.04,"text":"But why? I mean, it's just a web browser.","speaker":null,"is_sponsor":0},{"start_s":54.04,"end_s":58.8,"text":"See, it turns out that on top of all the regular 2020 internet stuff that uses a lot of RAM,","speaker":null,"is_sponsor":0},{"start_s":58.8,"end_s":63.88,"text":"like multiple high-def videos, feature-rich webpages and extensions all being active at once,","speaker":null,"is_sponsor":0},{"start_s":63.88,"end_s":69.04,"text":"Chrome uses a lot of RAM primarily because it sandboxes everything you're running.","speaker":null,"is_sponsor":0},{"start_s":69.04,"end_s":73.38,"text":"Here's what this means. Chrome splits off each tab and each browser extension","speaker":null,"is_sponsor":0},{"start_s":73.38,"end_s":77.24,"text":"into its own process, which occupies its own space and memory.","speaker":null,"is_sponsor":0},{"start_s":77.24,"end_s":81.08,"text":"The idea there is that if there's a problem with one page that causes it to crash,","speaker":null,"is_sponsor":0},{"start_s":81.08,"end_s":84.44,"text":"it won't affect the rest of your browsing session. It's definitely a good feature","speaker":null,"is_sponsor":0},{"start_s":84.44,"end_s":87.72,"text":"if you've got dozens of tabs open that you'd rather not lose.","speaker":null,"is_sponsor":0},{"start_s":87.72,"end_s":90.72,"text":"But creating so many processes means Chrome","speaker":null,"is_sponsor":0},{"start_s":90.72,"end_s":95.52,"text":"takes up more RAM than it would otherwise, since you have to replicate Chrome functionality","speaker":null,"is_sponsor":0},{"start_s":95.52,"end_s":99.84,"text":"in every tab. So you're trading RAM usage for stability.","speaker":null,"is_sponsor":0},{"start_s":99.84,"end_s":103.0,"text":"And after the Spectre and Meltdown bugs hit a couple years ago,","speaker":null,"is_sponsor":0},{"start_s":103.0,"end_s":106.88,"text":"Chrome started separating out processes even more aggressively,","speaker":null,"is_sponsor":0},{"start_s":106.88,"end_s":110.48,"text":"resulting in many users experiencing additional RAM usage","speaker":null,"is_sponsor":0},{"start_s":110.48,"end_s":114.94,"text":"to the tune of about 10%. So it's not insignificant.","speaker":null,"is_sponsor":0},{"start_s":114.94,"end_s":120.02,"text":"But greater reliability is just one reason Chrome lays claim to so much of your memory.","speaker":null,"is_sponsor":0},{"start_s":120.02,"end_s":123.46,"text":"You know how I mentioned that Chrome has a reputation as a fast browser?","speaker":null,"is_sponsor":0},{"start_s":123.46,"end_s":127.82,"text":"Part of the reason it's so fast is because it dumps a lot of data into your memory.","speaker":null,"is_sponsor":0},{"start_s":127.82,"end_s":130.94,"text":"Remember that RAM is much faster than long-term storage","speaker":null,"is_sponsor":0},{"start_s":130.94,"end_s":134.0,"text":"like an SSD or hard drive. One way it does this is through a technique","speaker":null,"is_sponsor":0},{"start_s":134.0,"end_s":137.54,"text":"called pre-rendering. This is when Chrome guesses at what you're going","speaker":null,"is_sponsor":0},{"start_s":137.54,"end_s":141.1,"text":"to look at next, such as a next story on a news website,","speaker":null,"is_sponsor":0},{"start_s":141.1,"end_s":144.66,"text":"and loads the page's resources into memory automatically.","speaker":null,"is_sponsor":0},{"start_s":144.66,"end_s":150.22,"text":"Chrome has gotten pretty good at pre-rendering and as such has noticeably sped up page load times,","speaker":null,"is_sponsor":0},{"start_s":150.22,"end_s":154.42,"text":"but it needs to use a lot of RAM to deliver the speed users have come to expect.","speaker":null,"is_sponsor":0},{"start_s":154.42,"end_s":158.36,"text":"And if you have a system without much RAM, this can become a real problem.","speaker":null,"is_sponsor":0},{"start_s":158.36,"end_s":163.16,"text":"On a budget machine with four gigabytes of memory, you can hit up against the ceiling very quickly","speaker":null,"is_sponsor":0},{"start_s":163.16,"end_s":166.82,"text":"if you're running Chrome with other programs. And even if you have eight gigs of RAM,","speaker":null,"is_sponsor":0},{"start_s":166.82,"end_s":170.1,"text":"you can see some slowdowns if you're doing a lot in your browser at once.","speaker":null,"is_sponsor":0},{"start_s":170.1,"end_s":174.02,"text":"Now, Chrome does try and compensate through some memory management tricks,","speaker":null,"is_sponsor":0},{"start_s":174.06,"end_s":178.78,"text":"including tab discarding. This is when Chrome automatically unloads from memory","speaker":null,"is_sponsor":0},{"start_s":178.78,"end_s":182.5,"text":"the contents of tabs you aren't using or haven't clicked on recently.","speaker":null,"is_sponsor":0},{"start_s":182.5,"end_s":186.14,"text":"Although this means that you'll experience a delay when you want to re-access the tab,","speaker":null,"is_sponsor":0},{"start_s":186.14,"end_s":190.38,"text":"as Chrome reloads the content, it can still keep Chrome from hitting your RAM","speaker":null,"is_sponsor":0},{"start_s":190.38,"end_s":195.66,"text":"quite as hard, pull in some punches. So what can you do if Chrome is hogging too much memory","speaker":null,"is_sponsor":0},{"start_s":195.66,"end_s":199.26,"text":"and adding more RAM to your system isn't an option for you right now?","speaker":null,"is_sponsor":0},{"start_s":199.26,"end_s":204.82,"text":"Well, switching to a new browser may not actually help as many of them use the same sandboxing paradigm.","speaker":null,"is_sponsor":0},{"start_s":204.82,"end_s":210.18,"text":"But Chrome does have a built-in task manager that can help you visualize and close tabs and extensions","speaker":null,"is_sponsor":0},{"start_s":210.18,"end_s":214.78,"text":"that are using tons of memory. So you might consider uninstalling resource-heavy extensions","speaker":null,"is_sponsor":0},{"start_s":214.78,"end_s":218.3,"text":"you rarely use or using alternative websites if possible.","speaker":null,"is_sponsor":0},{"start_s":218.3,"end_s":221.5,"text":"There are even extensions that can cut down on memory usage,","speaker":null,"is_sponsor":0},{"start_s":221.5,"end_s":225.82,"text":"such as one that converts your tabs into a list of links. You'll take a performance hit, of course,","speaker":null,"is_sponsor":0},{"start_s":225.82,"end_s":230.12,"text":"but it's still a decent enough solution considering they haven't really invented a way","speaker":null,"is_sponsor":0},{"start_s":230.16,"end_s":235.36,"text":"to download more RAM yet. But I'm sure they'll figure it out eventually.","speaker":null,"is_sponsor":0},{"start_s":235.36,"end_s":238.76,"text":"Hey, thanks for watching this video, guys. Like it if you liked it.","speaker":null,"is_sponsor":0},{"start_s":238.76,"end_s":241.76,"text":"Dislike it if you disliked it. Check out our other videos","speaker":null,"is_sponsor":1},{"start_s":241.76,"end_s":245.72,"text":"and comment below with video suggestions. And while you're doing all that,","speaker":null,"is_sponsor":1},{"start_s":245.72,"end_s":249.4,"text":"also don't forget to subscribe and follow. I know it's a lot to keep track of,","speaker":null,"is_sponsor":1},{"start_s":249.4,"end_s":252.44,"text":"but you can do it, I believe in you.","speaker":null,"is_sponsor":1}],"full_text":"Although there are actually lots of web browsers out there to choose from, odds are that unless you're on an Apple device and using Safari, you're probably using Google Chrome. In fact, in late 2019, it was estimated that a whopping 64% of users across devices were using Chrome. And why not? It's got an easy to learn interface and it's known for being a speedy performer, but it has one major drawback that you might have noticed, especially if you're running a lower end computer. It turns out that Chrome is a massive memory hog. I mean, sure, exactly how much it uses depends on how many tabs you have open and what exactly you're doing, but it's pretty common to push things north of two gigabytes of memory usage with just a dozen tabs. And if you're a heavy multitasker or you just have terrible tab discipline, you can quickly start straining your system's resources. But why? I mean, it's just a web browser. See, it turns out that on top of all the regular 2020 internet stuff that uses a lot of RAM, like multiple high-def videos, feature-rich webpages and extensions all being active at once, Chrome uses a lot of RAM primarily because it sandboxes everything you're running. Here's what this means. Chrome splits off each tab and each browser extension into its own process, which occupies its own space and memory. The idea there is that if there's a problem with one page that causes it to crash, it won't affect the rest of your browsing session. It's definitely a good feature if you've got dozens of tabs open that you'd rather not lose. But creating so many processes means Chrome takes up more RAM than it would otherwise, since you have to replicate Chrome functionality in every tab. So you're trading RAM usage for stability. And after the Spectre and Meltdown bugs hit a couple years ago, Chrome started separating out processes even more aggressively, resulting in many users experiencing additional RAM usage to the tune of about 10%. So it's not insignificant. But greater reliability is just one reason Chrome lays claim to so much of your memory. You know how I mentioned that Chrome has a reputation as a fast browser? Part of the reason it's so fast is because it dumps a lot of data into your memory. Remember that RAM is much faster than long-term storage like an SSD or hard drive. One way it does this is through a technique called pre-rendering. This is when Chrome guesses at what you're going to look at next, such as a next story on a news website, and loads the page's resources into memory automatically. Chrome has gotten pretty good at pre-rendering and as such has noticeably sped up page load times, but it needs to use a lot of RAM to deliver the speed users have come to expect. And if you have a system without much RAM, this can become a real problem. On a budget machine with four gigabytes of memory, you can hit up against the ceiling very quickly if you're running Chrome with other programs. And even if you have eight gigs of RAM, you can see some slowdowns if you're doing a lot in your browser at once. Now, Chrome does try and compensate through some memory management tricks, including tab discarding. This is when Chrome automatically unloads from memory the contents of tabs you aren't using or haven't clicked on recently. Although this means that you'll experience a delay when you want to re-access the tab, as Chrome reloads the content, it can still keep Chrome from hitting your RAM quite as hard, pull in some punches. So what can you do if Chrome is hogging too much memory and adding more RAM to your system isn't an option for you right now? Well, switching to a new browser may not actually help as many of them use the same sandboxing paradigm. But Chrome does have a built-in task manager that can help you visualize and close tabs and extensions that are using tons of memory. So you might consider uninstalling resource-heavy extensions you rarely use or using alternative websites if possible. There are even extensions that can cut down on memory usage, such as one that converts your tabs into a list of links. You'll take a performance hit, of course, but it's still a decent enough solution considering they haven't really invented a way to download more RAM yet. But I'm sure they'll figure it out eventually. Hey, thanks for watching this video, guys. Like it if you liked it. Dislike it if you disliked it. Check out our other videos and comment below with video suggestions. And while you're doing all that, also don't forget to subscribe and follow. I know it's a lot to keep track of, but you can do it, I believe in you."}