4 ms·
>Chrome is notable for being a memory hog This meme comes from a misunderstanding of how desktop memory works. Chrome will use as much available RAM as you ca
by bduerst 5y ago
>Chrome is notable for being a memory hog
This meme comes from a misunderstanding of how desktop memory works. Chrome will use as much available RAM as you can give it in order to improve web performance, but it doesn't actually require that much to run.
- redwall_hp 5y agoAnd...modern web cruft is a memory hog. Chrome's built in task manager shows the tab I'm writing this comment in as using a reasonable 50MB of memory. Meanwhile, I have a couple of YouTube tabs that are over 200MB each. The problem is the world doesn't hold web developers responsible for being wasteful.
- int_19h 5y agoThe entirety of the HN Add Comment page is 82 lines of HTML (that's after pretty-printing it!) - two tables, and a form with a text area. The only image is the logo. Granted, there's also 175 lines of CSS linked from that, and 150 lines of JS (which does not use any libraries or frameworks). How did we get to the point where 50 Mb to maintain this document structured in memory and ready to render is considered reasonable?
- bduerst 5y agoI mean, the answer is pretty obvious. HN itself isn't a business, it's an organization's forum for a different type of revenue stream. You could argue that the entire internet (or all media, for that matter) should be run that way, but then we'd still lose a lot of functionality and creativity, even if it were generated for-profit.
- int_19h 5y agoI'm not holding HN up as a stellar example. I'm asking why we need 50 Mb of RAM to render a webpage that is this simple. I mean, this is the kind of stuff that browsers could handle back when the average size of the entire RAM was less than that.