🤍 Appeal to the Browser Goddesses 🤍
Can we please make it a thing where 32GB of RAM isn’t an insufficient amount for day to day web browser usage? Getting an OOM core dump for that reason is inexcusable.
- Should the Zoom browser app really need 2GB on a single tab when it’s already downscaling a 1080p feed to 320p on an enterprise account?
- Should Amazon’s website really need 1GB per tab just to view the cart or a ~800Mb for a single simple product page?
- Please remind me how an MKdocs fully static page with a single 400k image and no datatables or fancy JS somehow require 242Mb?
- Or perhaps shed some light on the requirement where Google’s main page with a single search form somehow needs ~500Mb
There are no “good reasons” for these inefficiencies. We don’t suddenly have better search fields or compressed jpegs now vs a decade ago with 1/10th of the system resources.
#developer #webdev #linux #browsers #chrome #firefox #ensh11n
@winterschon@bsd.cafe Today’s browsers are monsters, designed to serve overloaded and bloated websites. Today’s websites and web-apps are designed to take everything just because it’s there. I miss the good old days of the internet, when it was mainly designed for sharing information in plain text format (that was the time even before annoying gifs showed up). But unfortunately these days will never come back.
that’s why i love the gemini protocol. it doesn’t even support images, just plain text.
Safari has a new feature where you can click on annoying website components and make them disappear. It’s AMAZING.
uBlock Origin has this too 🤔
@doerk @winterschon That’s why the #geminiprotocol is such a nice thing.
@thorstenzoeller@exquisite.social @doerk@nrw.social yes! I was just mentioning that in another response. love gemini, still need to setup a server. 🤩
@thorstenzoeller @winterschon It is. 99% of the time Images and graphical elements are unnecessary. There are only few reasons for Images, like online shopping or booking your hotel for the next trips. These are things I wouldn’t like to do without having seen a photo. But most times photos are just there to be there, for no good reason.
@doerk @winterschon Exactly, I completely agree. There are definitely situations in which text alone is not sufficient (or other media is preferable), but there are very, very few of those.
And again, https://justinjackson.ca/words.html comes to my mind…
@thorstenzoeller @doerk that’s a great page. reminds me of a purposeful design choice from the Gemini protocol project; it’s all text for similar reasons.
@winterschon@bsd.cafe @thorstenzoeller@exquisite.social The only thing Gemini lacks is bold and cursive fonts. At least it seems like this is not possible.
It’s not the browser but the websites.
Two way video streaming will be always resource intensive.
But for the other websites the choise is yours, you don’t have to use amazon or goog, there are alternatives.
Also if you doesn’t have enough ram close the tabs. My 10 years old low end laptop with 8GB ram, I know I can’t have more than 6-8 tabs open at the same time.
@infeeeee@lemm.ee ooh fun, let’s play blame the messenger! great solution.
Try appealing to the website goddesses.
@winterschon@bsd.cafe it’s usually not as bad as it looks though, browsers will use ALL THE RAM if it’s available because why not, you know? Better to use the memory and make everything fast rather than just leave it lying around! They’ll adjust their usage downwards if other apps need the memory.
no, it doesn’t work that way. The os does that with caching because it can release the memory should another user program ask for it. The browser just takes all of that memory. As far as the system is concerned, that memory is in use, not available.
They’ll adjust their usage downwards if other apps need the memory.
If it really works that way (which I doubt) then I don’t want my apps to spend resources on constantly monitoring the RAM situation.
@winterschon@bsd.cafe even my client-side javascript lookingglass (https://lg.as57777.net) does not need such resources (and that includes a few 100s KiB for ASN&community details)
@winterschon@bsd.cafe I’m not good in benchmarking websites in the browser, but I made a webring for our community this week. can you benchmark it please?
danke!
@antranigv@sigin.fo sure sure, I’ll check it out
@winterschon@bsd.cafe I’m on my 8gb RAM Mac and would love to keep using it
@winterschon@bsd.cafe FWIW, for some reason turning off hardware acceleration seems to reduce overall memory usage. Somehow. Doesn’t make sense (it should only affect VRAM) but it helps.
But your fundamental point stands. A simple page uses far far more RAM AND CPU than it should. I like to do a handful of things on a little mini PC I bought a long time ago (I use it sort of like an HTPC) but the processor it uses shoots up to 60+C just opening some sites. Simply opening the site. If I open two bad tabs at once it spikes to 70.