Earlier 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.
320 = 3.2 hundreds not .32 hundreds. 3 hundreds, 2 tens, and 0 ones.
Ask HN: One tab on Chrome takes about 100MB memory, why?
71–80 of 210 posts
Re: Ask HN: One tab on Chrome takes about 100MB memory, why?
#72I'm eager for info too. But while we're waiting, I have a genuine, not snarky, question too: does this ever actually negatively impact people's use of their computer? I can't recall ever feeling like my browser having lots of tabs open has changed the experience. RAM and resource usage hasn't been on my mind in years.
Yes indeed. My computer at work has 16 GB. It gets slow. Every now and then, I'll open a web page that pushes things past a limit. The browser becomes completely unresponsive and sometimes I can't even move my mouse. While I'm suffering from running out of memory, the browser decides to use up even more memory to pop up a dialog to taunt me about it. This can even happen without user action, for example when a page a…
If you enable the magic SysRq key, Alt+Print Screen+F will trigger the OOM killer.
Quick enable for those who want it:
kernel.sysrq = 1
in /etc/sysctl.d/90-sysrq.conf.> I blame most of it on Chromium and Firefox
I rarely have this problem with modern Firefox, but also block ads so maybe that makes the difference. Chrome is always bad, though.
Re: Ask HN: One tab on Chrome takes about 100MB memory, why?
#73I'm eager for info too. But while we're waiting, I have a genuine, not snarky, question too: does this ever actually negatively impact people's use of their computer? I can't recall ever feeling like my browser having lots of tabs open has changed the experience. RAM and resource usage hasn't been on my mind in years.
Indeed, "free memory" is the biggest waste of money and energy imaginable. Unless you lack the memory necessary to do something else, you shouldn't care. If the question really needs answering, the poster should just get a heap profile. Some instructions are here: http://goog-perftools.sourceforge.net/doc/heap_profiler.html You may also wish to try the memlog flag to chrome, or rebuild chrome with TCMALLOC_SMALL_BUT_…
This is the case. 8 GB of memory, VM takes half of it, Chrome will happily take the rest with few tabs open and lock up my computer.
Re: Ask HN: One tab on Chrome takes about 100MB memory, why?
#74(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…
An HD pixel buffer is only 6MB.
Re: Ask HN: One tab on Chrome takes about 100MB memory, why?
#75Earlier 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?
#76Earlier quoted context omitted.
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.
Well chrome will "suspend" tabs when it sees your system is running low on memory, and will resume them when you switch to them. But it's a much harder problem to solve than many think. For example, if they start "suspending" my slack tab, or my email tab, and I begin missing messages I'm going to be quite upset...
Re: Ask HN: One tab on Chrome takes about 100MB memory, why?
#77I'm eager for info too. But while we're waiting, I have a genuine, not snarky, question too: does this ever actually negatively impact people's use of their computer? I can't recall ever feeling like my browser having lots of tabs open has changed the experience. RAM and resource usage hasn't been on my mind in years.
Fortunately I have a Linux desktop which is my primary machine, but I do still use this quite a lot when I’m working away from my desk.
Re: Ask HN: One tab on Chrome takes about 100MB memory, why?
#78Earlier quoted context omitted.
Well chrome will "suspend" tabs when it sees your system is running low on memory, and will resume them when you switch to them. But it's a much harder problem to solve than many think. For example, if they start "suspending" my slack tab, or my email tab, and I begin missing messages I'm going to be quite upset...
That doesn't sound like a reason for it to be hard - just provide a way to mark tabs as "don't suspend". I have only a couple I would put in that category, and I really wish Chrome would stop burning up all my resources and battery on the rest (often it's not a specific tab, just the "Browser" process, so I can't do it manually).
Instead what they choose to do is not worry about memory until it you actually run out of it. I don't mind my applications taking up 90% of my memory if that keeps everything fast and I don't have to worry about keeping track and thinking about what I actually want to suspend and what I dont't.
If you really do mind, just run any of the plugins that implements your exact required behaviour (like the great suspender).
Re: Ask HN: One tab on Chrome takes about 100MB memory, why?
#79Chrome tabs are processes with shared memory, but they're still processes. On Linux, they get kernel space mapped in. That influences their total footprint even though it's shared.
Can people just use what amounts of trifiling amounts of RAM in 2012 and stop demanding every executable be as "efficient" by an antiquated pre virtual memory metric, please?
Chrome is astonishingly good at what it does.
Re: Ask HN: One tab on Chrome takes about 100MB memory, why?
#80Earlier quoted context omitted.
Apple doesn't even offer a 32GB option for their Macbook Pro computers. 32gb is far from standard.
Yes, they don't offer that on their laptops, but what the OP is talking about is a desktop machine. Apple definitely offers 32 GB in their desktops.