News for hackers. Stuff that matters.
Re:Flow browser passes the Acid tests by vbezhenar on Saturday June 13, 2020 @10:29AM (#23509588)
I wonder did someone try to dissect where that Chrome memory is going to?

I can run Intellij Idea: Java IDE, load project with thousands of files into it and it won't eat 8 GB.

I understand that Chromium is maintained by extremely talented developers and all obvious improvements were made, so that memory usage is probably necessary. But I still wonder how is it possible. Gigabyte of RAM is a lot.

Re:Flow browser passes the Acid tests by thdrdt on Saturday June 13, 2020 @11:12AM (#23509971)
Not an exact answer to your question but there are a lot of things taking more memory than you would think. Today websites contain high res images. Well, you might say, 800KB isn't much. But that is the compressed size. The bitmap data is way bigger. All this data has to be kept in memory.

But yeah, 8GB is unbelievable. I have no clue why Chrome needs this.

Re:Flow browser passes the Acid tests by aeyes on Saturday June 13, 2020 @12:38PM (#23510656)
> I can run Intellij Idea: Java IDE, load project with thousands of files into it and it won't eat 8 GB.

I don't have the same experience, PyCharm is absolutely killing my machine and I always have it in Power Save mode. Sure, it isn't eating 8GB but that is because the JVM by default doesn't have that much available. I had to raise the memory limit considerably to be able to open my projects without it hanging.

Re:Flow browser passes the Acid tests by jomohke on Saturday June 13, 2020 @04:58PM (#23512672)
That’s not normal.

What plugins do you have installed? Maybe one is slowing it down?

And perhaps run “clear caches / restart” just in case there’s cache corruption

I run it fine on a Linux machine that has 4GB ram total — I’m curious how much memory you’re talking about.

Re:Flow browser passes the Acid tests by Yoric on Saturday June 13, 2020 @12:22PM (#23510514)
I don't know about Chrome but in Firefox if you want to know, go to link about:memory. Caveat: it's very technical :)
Re:Flow browser passes the Acid tests by moogly on Sunday June 14, 2020 @03:57AM (#23515882)
That page ("Stats for nerds") was removed from Chrome ages ago. And before it was removed, it was a pretty petty thing since it spent time and effort on also showing memory usage from other currently running browsers.
Re:Flow browser passes the Acid tests by moron4hire on Saturday June 13, 2020 @12:32PM (#23510600)
I think it's a mistake to think that, just because someone works at Google or on Chromium, they are necessarily "talented" developers. They're just the developers that are working on Chromium. Normal people like the rest of us.
Re:Flow browser passes the Acid tests by vntok on Sunday June 14, 2020 @04:54AM (#23516099)
Google has a ~0.2% hiring acceptance rate, which is much more selective than the vast majority of software companies. For Google developers to be "normal people", the hiring process would have to be absolutely terrible.
Re:Flow browser passes the Acid tests by Beldin on Saturday June 13, 2020 @01:04PM (#23510838)
On a related note, i once came across the notion that free memory isn't doing anything for you.

It's kind of obvious and does not at all explain chromium's lower bound of memory usage. But: if Chromium runs better with more memory and no other process is using it: please take it!

That is what it's there for, after all.

Re:Flow browser passes the Acid tests by gibolt on Saturday June 13, 2020 @01:31PM (#23511065)
This is fine, until another application needs it. Then it becomes a power struggle for the throne, and both sides lose.
Re:Flow browser passes the Acid tests by vbezhenar on Sunday June 14, 2020 @11:53AM (#23518632)
That's not correct for any modern OS. Free memory is used as a disk cache, so your computer is significantly faster with more free memory.

Well, not as significantly now, with SSD everywhere, but still faster.

Re:Flow browser passes the Acid tests by Dylan16807 on Saturday June 13, 2020 @04:47PM (#23512567)
If it would actually detect that, it could be great.

But I have a chromebook with 4GB of ram, and it often struggles to keep a particular set of 3 expensive tabs open because it runs out. It's definitely not reacting to memory pressure by being less greedy.

Re:Flow browser passes the Acid tests by plerpin on Saturday June 13, 2020 @10:30PM (#23514631)
Your pages might have huge JS heaps allocated or contain supersampled assets.
Re:Flow browser passes the Acid tests by rgrieselhuber on Saturday June 13, 2020 @10:36AM (#23509658)
This topic always reminds me of the work of Paul Virilio, on how system design often (deliberately or not) impedes our own natural processing capabilities by slowing us down / wasting our time.
Re:Flow browser passes the Acid tests by londons_explore on Saturday June 13, 2020 @12:00PM (#23510347)
You can hit F12 in a chromium based browser and hit the memory tab and find out where all the RAM is going...
Re:Flow browser passes the Acid tests by pwdisswordfish2 on Sunday June 14, 2020 @04:41PM (#23521160)
My Chromebook doesn't have an F12 key.
Re:Flow browser passes the Acid tests by MauranKilom on Saturday June 13, 2020 @12:27PM (#23510557)
Also works in FF.