Earlier quoted context omitted.
>Google devs use 16-32 core machines, often with hundreds of gigabytes ram You obviously have no idea what you are talking about. Most devs at Google use MacBook Pros.. which cannot even be upgraded to hold hundreds of gigs of ram.
Chrome devs are given both a laptop (most choose a MacBook Pro) and a fairly beefy desktop. My one had 64G of RAM, and that was given to me six years ago.
Ask HN: One tab on Chrome takes about 100MB memory, why?
101–110 of 210 posts
Re: Ask HN: One tab on Chrome takes about 100MB memory, why?
#102Earlier quoted context omitted.
1 is entirely possible. Opera 12.x takes ~3-10MB per TAB (+the weight of the media used on the page). There is zero latency, opening new/switching tabs is instantaneous. Google devs use 16-32 core machines, often with hundreds of gigabytes ram. Why would they bother optimizing?
The standard machine has 32 GB. So I guess 0.32 hundreds... And for completeness, 6 physical cores, 12 logical with HT. Still beefy, but nothing out of the ordinary.
Re: Ask HN: One tab on Chrome takes about 100MB memory, why?
#103Also, ps_mem can be good for tracking what is using up your memory: https://github.com/pixelb/ps_mem
Re: Ask HN: One tab on Chrome takes about 100MB memory, why?
#104Earlier quoted context omitted.
The standard machine has 32 GB. So I guess 0.32 hundreds... And for completeness, 6 physical cores, 12 logical with HT. Still beefy, but nothing out of the ordinary.
I would venture to say that most of the world isn't using computers with 32GB RAM...
Re: Ask HN: One tab on Chrome takes about 100MB memory, why?
#105To my overly long TODO-list I added a web browser project. I would like to see something akin to Links [0] or Lynx [1] with a bit of Dillo [2], but also for mobile. Features & non-features: - it would generally work like the reader mode (no other modes) trying to place navigation links in a predictable place - user can easily select text size and color schemes - night mode (Android does not have one) - because of it'…
What's the use of night mode? Even if someone needs to browse web in the darkness (which is a bad idea anyway), it should be implemented somewhere in the OS, not in applications.
The night mode would be just a small additional setting on top of a color scheme selection.
Re: Ask HN: One tab on Chrome takes about 100MB memory, why?
#106> One tab on chrome takes about 100MB memory, why? Two reasons 1) Because, Chrome is ready to do something with that tab: browse the web. Do this, create a browser that doesn't use much memory when a tab is idle. Switch back to that tab and interact with the page or go to a new page. You will experience latency. It will feel slow. That's why the tab uses a lot of memory. It is staying ready at all times to be interac…
I'm perfectly willing to wait a second for the page to be reloaded from solid-state storage, if I haven't visited the page for an hour or more. Some people might say I shouldn't keep hundreds of tabs open for weeks. But I'm an old guy, and by my standards my laptop is a freakin supercomputer, so in my mind it should be able to handle all the web pages I can manually throw at it.
Great, then set vm.swappiness = 100
And stop complaining about about virtual memory usage.
Re: Ask HN: One tab on Chrome takes about 100MB memory, why?
#107> One tab on chrome takes about 100MB memory, why? Two reasons 1) Because, Chrome is ready to do something with that tab: browse the web. Do this, create a browser that doesn't use much memory when a tab is idle. Switch back to that tab and interact with the page or go to a new page. You will experience latency. It will feel slow. That's why the tab uses a lot of memory. It is staying ready at all times to be interac…
I'm perfectly willing to wait a second for the page to be reloaded from solid-state storage, if I haven't visited the page for an hour or more. Some people might say I shouldn't keep hundreds of tabs open for weeks. But I'm an old guy, and by my standards my laptop is a freakin supercomputer, so in my mind it should be able to handle all the web pages I can manually throw at it.
Re: Ask HN: One tab on Chrome takes about 100MB memory, why?
#108(I have worked as an engineer on both Ubuntu and Chrome) > One tab on chrome takes about 100MB memory, why? It probably doesn't. Much of that apparent memory usage is shared between all tabs, and the browser renderer process, etc. in the form of shared memory. Quite a bit of it will be the executable code itself, which is "mapped" into memory, given an address, and allocated the full size but doesn't actually consume…
Re: Ask HN: One tab on Chrome takes about 100MB memory, why?
#109Earlier quoted context omitted.
The standard machine has 32 GB. So I guess 0.32 hundreds... And for completeness, 6 physical cores, 12 logical with HT. Still beefy, but nothing out of the ordinary.
You are so wrong. Check here http://store.steampowered.com/hwsurvey/ these are gaming, most powerful PCs people are using. 8gb is 44% of all users.
Re: Ask HN: One tab on Chrome takes about 100MB memory, why?
#110Earlier quoted context omitted.
OP is talking about the machines Google devs use, and I am betting they are definitely not desktop machines.
He was describing the standard desktop workstation at Google. My understanding is that they have rMBP laptops and slightly beefier desktops.