How to control memory usage in Vivaldi
-
nice post! after checking Vivaldi's task manager, I noticed that each "web panel" also has its own process (called WebView). so maybe an user will have even more simultaneous processess even with few tabs open.
-
"the average web page size in 2017 is 2959 kb", is that information right? I can't see any page close to so little...
-
@luetage Why so arrogant, uncharitable & harsh? Simply because you are evidently beyond needing such overview & explanation, does not in any way negate its value & helpfulness to lesser mortals... maybe even lots of them. "tl:dr" often says rather more about the wielder of such patronising acronyms, than the subject matter at hand, IMO. I applaud V for providing such info, & hope that they keep it up.
-
@steffie All I did was summarise a 1229 word article in 8 words. No reason to blindly attack and destroy. Try and be nice.
-
@luetage I'm afraid you have mischaracterised what you did, & then what i did. You were mean & disrespectful of the article, & dismissive of its value to other users.
-
@steffie And I'm afraid you have completely overreacted. Mean, disrespectful, patronising, arrogant, uncharitable, harsh -- that's a full out attack. If you really think my comment was that toxic, do you believe it is appropriate to fight fire with fire and be mean and disrespectful in return? Just flag my post for moderation next time. Personally attacking other members of this site can never be the answer, independent from you being right or not.
E.g.
@luetage I have to disagree with you, I think this article is valuable to many users, since it outlines and explains various ways to keep memory consumption under control, and in an understandable and clear fashion. It can't be summarised in just one sentence, it gives so much more info.@Steffie Thanks, you're right.
-- is how this should have gone down. Let's pretend this happened.
-
@luetage Allergic to truth, huh? If you say mean arrogant things about other people, don't be surprised if you get called out for it. If you don't like that, then stop patronising & putting down others.
-
i hope in future Vivaldi will provide a tab-state control feature, to see which tabs are in which state. tab hibernate is good, but kinda not practical as one can't see a visual difference between anything apart from current tab. tabs from last session, background tabs, suspended tabs - they all look the same, making little point in hibernating, as few minutes later one easily "opens" same tab by accident.
yet there is no Chromium-based browser to have Visual Settings of Tab States and no extension, so Vivaldi could become a pioneer! -
I can only talk for me, but it never ever happend, that a single tab could closed by me, because it hang up. Always the whole browser froze so that I have to close and reopen it (not only Vivaldi, also other chrome clones). It's not a pity, because the whole session was re-enabled, but this one-tab-per-process never gave an advantage to me. So happened to me again some days ago.
Fortunately it doesn't occur very often, that a tab is so jealous to methe integrated taskmanager is more helpful for me.
-
Other investigation of Vivaldi's memory:
https://github.com/WillyYu/vivaldi_1.9_SoftwareImageDecodeCache
This investigation is a little old, which based on Vivaldi 1.9.
But it should be same as latest version, mainly based on Chromium's architecture. -
@derday yes, to me the whole argument about single process being good for crashes is utter rubbish!
-
it never seems to work with a crash the way Chrome fans say it should
-
Opera Presto was never crashing anyway, so it's not even an important issue!
-
-
@regnas: I'm assuming the tabs automatically hibernate. You should this
Disable this:
vivaldi://flags/#automatic-tab-discarding
Enable this:
vivaldi://flags/#enable-non-validating-reload-on-normal-reloadHope it works
-
@supermecha said in How to control memory usage in Vivaldi:
@regnas: I'm assuming the tabs automatically hibernate. You should this
Disable this:
vivaldi://flags/#automatic-tab-discarding
Enable this:
vivaldi://flags/#enable-non-validating-reload-on-normal-reloadHope it works
I'll give it a go, thank you very much...
-
Disable Hardware Acceleration it is buggy in Chromium based browsers (it cripples lower power PCs, both the browser & PC). I have seen it on over 60 Windows machines where disabling Hardware Acceleration improved performance and lowered RAM usage.
-
@helmers: I have seen that a lot where the main page is fine but a few of the ads are memory hogs and cause CPU spikes
-
Deactivating the Update advisor, which remains resident in memory even with closed Vivaldi can also release some memory on PC with limited resources, although then you have to look manually if there is any update available.
-
@supermecha I cannot find the #enable-non-validating-reload-on-normal-reload flag. Do you know if it's still relevant?
Thanks! -
Do ad blockers lessen the size of the page in Vivaldi, or do they do their filtering after the code is loaded?
-
@paul1149 Adblockers block the sources, that means the page that is actually loaded in the browser becomes smaller, but they use resources themselves. If you really want to block efficiently, you should edit your hosts file on operating system level.
-
It'd be great if you could explain precisely what "wonβt use as many resources" in "They will still be readily available when needed, but wonβt use as many resources as your other active tabs." means.
For example, does it mean:
-
remove everything except the URL, page title, and thumbnail image (and perhaps the HTTP header) [i.e. a glorified bookmark]
-
move everything to a disk cache, leaving in RAM everything except <see previous>
or other arrangements.
In particular, some of us who have very free RAM or disk (sic) storage, we want things to NOT get cached if weβre not using them.
In my case, currently Vivaldi is using up so much disk storage I'm having to consider buying external storage to migrate files off the system so Vivaldi can cope, and I'm not a walking bank :-(Besides, I'm beyond tired of the amount of time I'm having dedicate to managing disk space.) I'm left wondering if this excess usage of disk is due to Vivaldi caching inactive tabs. Whatever it is it eats up many Gbs of storage even under careful use. My impression is that it uses RAM up to some tipping point, at which it starts eating disk storage in a fairly big way. The only remedy I've found so far has been to quit the browser and start over. I'm hoping the Task Manager will help, but looking at the description I can't tell if it's simply moving things to disk or not.
Itβs also be useful to explain what "Background page: Vivaldi" is as opposed to "Browser" in Task Manager are. (In my case these are using 380Mb + 290Mb RAM.)
It might help if developers kept in mind some users will only have, say, 4Gb RAM, with the OS taking 2+ Gb of it. If web pages and/or Vivaldi get greedy with either RAM or disk storage, the system will thrash. (Probably also not good for the SSD card.)
-