Memory leak in Vivaldi v5?
-
@Pathduck I'm not familiar with those browsers (I once came from Pale Moon, that's to long ago to compare though). But if I randomly do a bunch of Save Page As commands. Lets make that 10 times actually it adds up to 54MB in the folder I saved them in.
I may have around 200 tabs open. Most just left open just in case and should be using that auto hibernate thing.
So (200/10) * 54 should come to around 1GB yet vivaldi is using 10.6GB at the moment of starting this message (I just ran a batch file closing all vivaldi processes and compared the before and after memory usage, in fact having restarted vivaldi memory usage is up 3GB compared to before so 13.6GB all vivaldi now).
@Zalex108 I'll check out that link later. Not that I use that old computer myself all that much.
-
@endemion said in Memory leak in Vivaldi v5?:
@Zalex108 I'll check out that link later. Not that I use that old computer myself all that much.
Yes,
It's just because there are 2 things that may help:A full hibernation extension
A command to combine in one thread the same elements in "duplicated" pages (Yahoo)If I recall saw something in
chrome://flags
for that too. -
@Tsvetkov1964 said in Memory leak in Vivaldi v5?:
@RasheedHolland The Edge and Yandex browsers (both based on Chromium) have learned to optimize memory very well.
I have seen that Edge has also tried to tackle this problem, see link. So surely Vivaldi must be able to do something about the high RAM usage.
https://blogs.windows.com/msedgedev/2022/12/06/sleeping-tabs-edge-105-sleep-before-discarding/
-
@endemion said in Memory leak in Vivaldi v5?:
Yeah vivaldi is a memory hog. Got it on an older PC with 12GB of ram, it generally only has 4-5 tabs open. It often starts complaining due to vivaldi hogging all the memory. And we're talking just a few hours of use. Some versions are better than others in that regard but I think it got a lot worse in this regard somewhere since version 4.
And on this PC with 32GB of ram it's currently using around half, most of it due to vivaldi processes. Sure I have a good number of tabs open but it's still a lot.
Wow, sounds pretty ridiculous that Vivaldi uses half of the 32GB of RAM, with how many tabs open?
-
@Zalex108 said in Memory leak in Vivaldi v5?:
Some of this suggestions may help despite of your specs.
https://forum.vivaldi.net/topic/60564/guide-vivaldi-on-old-computers
@RasheedHolland
Hibernate Tabs releases RAM.
In fact,
Chromium auto hibernates,
Are you using something to block that?No, I don't block anything, but I don't like to use tab hibernation, I hate it when tabs have to reload again.
-
@Pathduck said in Memory leak in Vivaldi v5?:
@RasheedHolland When you get these "heavy usage" situations, please do a screenshot of memory use in Vivaldi's Task Manager as well as Process Explorer/Task Manager if possible (Private Bytes is interesting).
When making a screenshot in Windows Task Manager, it's important to expand the process list so individual PIDs are showing. Also make sure PIDs are actually shown, as they are not by default I think. It might not even be the site itself (assuming Yahoo Finance) but maybe one of the (many!) subframes that's consuming memory.
I will see what I can do. But all I know is that when I open certain sites like finance.yahoo.com and www.ad.nl and I open let's say 20 articles (20 tabs), my RAM gets drained real quickly. I monitor this with the excellent TinyResMeter tool, see link.
And keep in mind, I'm also using uBlock Origin, so this adblocker is already blocking lots of advertisement crap.
So I hope Vivaldi can do something about this, even if Chromium is a resource hog. Of course with 16GB it's less of an issue for most people, unless you are also playing video games and using virtual machines while the browser is still in memory with 50+ active tabs, know what I mean?
-
Just depends on the Browsing habits
On the mentioned Extension you can whitelist sites.
Chromium hibernates every site. -
@Zalex108 said in Memory leak in Vivaldi v5?:
Just depends on the Browsing habits
On the mentioned Extension you can whitelist sites.
Chromium hibernates every site.Yes exactly and my browsing habit is that I navigate to certain sites, and then select articles that I want to read at a later time, and open them in background tabs. So before I know it, I might have 40+ tabs open.
But with 8GB, I will find myself constantly having to monitor RAM usage. Luckily the Windows Memory Compression tool often kicks in to stop my machine from crashing. To clarify, this is on my Win 10 laptop, it's less of an issue on my Win 8 desktop, since Win 8 is using way less RAM.
-
@endemion said in Memory leak in Vivaldi v5?:
@Pathduck I'm not familiar with those browsers (I once came from Pale Moon, that's to long ago to compare though). But if I randomly do a bunch of Save Page As commands. Lets make that 10 times actually it adds up to 54MB in the folder I saved them in.
I may have around 200 tabs open. Most just left open just in case and should be using that auto hibernate thing.
So (200/10) * 54 should come to around 1GB yet vivaldi is using 10.6GB at the moment of starting this message (I just ran a batch file closing all vivaldi processes and compared the before and after memory usage, in fact having restarted vivaldi memory usage is up 3GB compared to before so 13.6GB all vivaldi now). -
@RasheedHolland If you want to try some bleeding-edge experiment, see:
chrome://flags/#high-efficiency-mode-available
Then go to:
chrome://settings/performance
to enable it.Note that this is new in Chromium 108, very experimental, may crash and burn your system, and will probably also not work well with Vivaldi UI. No warranties given or implied.
-
@endemion said in Memory leak in Vivaldi v5?:
@endemion said in Memory leak in Vivaldi v5?:
@Pathduck I'm not familiar with those browsers (I once came from Pale Moon, that's to long ago to compare though). But if I randomly do a bunch of Save Page As commands. Lets make that 10 times actually it adds up to 54MB in the folder I saved them in.
I may have around 200 tabs open. Most just left open just in case and should be using that auto hibernate thing.
So (200/10) * 54 should come to around 1GB yet vivaldi is using 10.6GB at the moment of starting this message (I just ran a batch file closing all vivaldi processes and compared the before and after memory usage, in fact having restarted vivaldi memory usage is up 3GB compared to before so 13.6GB all vivaldi now).OK cool, must have missed this. So you get this with about 200 tabs open. Then 16GB of RAM usage doesn't surprise me. And it also depends on how heavy the website is of course.
-
@Pathduck said in Memory leak in Vivaldi v5?:
@RasheedHolland If you want to try some bleeding-edge experiment, see:
chrome://flags/#high-efficiency-mode-available
Then go to:
chrome://settings/performance
to enable it.Note that this is new in Chromium 108, very experimental, may crash and burn your system, and will probably also not work well with Vivaldi UI. No warranties given or implied.
What is this supposed to do?
-
@endemion said in Memory leak in Vivaldi v5?:
I'm not familiar with those browsers (I once came from Pale Moon, that's to long ago to compare though). But if I randomly do a bunch of Save Page As commands. Lets make that 10 times actually it adds up to 54MB in the folder I saved them in.
I may have around 200 tabs open. Most just left open just in case and should be using that auto hibernate thing.
So (200/10) * 54 should come to around 1GB yet vivaldi is using 10.6GB at the moment of starting this message (I just ran a batch file closing all vivaldi processes and compared the before and after memory usage, in fact having restarted vivaldi memory usage is up 3GB compared to before so 13.6GB all vivaldi now).You cannot seriously be comparing the file size of a saved HTML file to the amount a site takes in memory. This is not how things work in real life
@RasheedHolland
Read:
https://bgr.com/tech/how-to-use-chromes-new-energy-and-memory-saver-modes/
https://9to5google.com/2022/12/08/google-chrome-memory-energy-saver/
https://lifehacker.com/enable-this-setting-to-stop-chrome-from-hogging-so-much-1849876138Again, this is not supported in Vivaldi, it's experimental and will probably break shit.
-
By the way, I totally forgot about this newest problem that I encountered that leads me to believe that there is indeed a memory leaking problem in Vivaldi. I have noticed that whenever I bookmark a website via the addressbar, Vivaldi will spike the CPU to 12% for at least 10 seconds which will result in a 1 second browser freeze which is very annoying.
But even worse, RAM usage will go up, so let's say you still have 2GB left, it will go down to 1GB and then within a few seconds goes back to 2GB. I'm not sure if the fact that I often leave my Vivaldi browser in memory for days plays a role, and I also have 6000+ bookmarks, I should tidy things up, but I still think this behavior is weird and should be fixed.
-
@Pathduck said in Memory leak in Vivaldi v5?:
https://lifehacker.com/enable-this-setting-to-stop-chrome-from-hogging-so-much-1849876138
Again, this is not supported in Vivaldi, it's experimental and will probably break shit.
Sounds interesting but if it means that tabs will have to reload again, I'm not interested. That's why I also never use tab hibernation, in fact I wonder what's so different about this new feature. And of course I'm not willing to risk Vivaldi's stability. But I would like to see such type of features in Vivaldi, especially the one from Edge. And off topic, but how come Vivaldi still isn't able to block video's from autoplaying? The one on Lifehacker.com is very annoying.
-
@RasheedHolland
Hi, I guess it is a issue with not restarting Vivaldi for several days, 6000 bookmarks should only slowdown the start of Vivaldi.
This it looks with 201 tabs open on Windows 11, clean profile no extensions:Such issues are hard to fix, it depends on which URL´s are open in this 200 tabs, may only some tabs are leaking, running Java scripts or something.
Cheers, mib
-
@Pathduck Tell me how 'save page as' is oh so different from visiting a webpage!?
I mean if I save this page as I get the following:
Memory leak in Vivaldi v5_ _ Vivaldi Forum_files
- cvpJlzttMDcS7VC8.jpeg
- 1f602.png
- client.css
- styles.css
- nodebb.min.js.download
- rep.js.download
- logo.svg
Memory leak in Vivaldi v5_ _ Vivaldi Forum.html
And it shows the same as when I visit it via the web. So why are you deeming it normal for it to be more than 10x bigger in memory?
You know what don't even answer that, you're going to be a dick about it anyway so don't bother.
--
ModEdit: Despective treatment
-
@endemion I'm not going to explain the difference between the file size of a local file and the amount it takes when loaded into memory. You can search these things yourself. Hint: look up "jpeg compression".
Here are some good articles on browser memory usage I suggest you read:
https://www.makeuseof.com/tag/chrome-using-much-ram-fix-right-now/
https://www.poweradmin.com/blog/why-your-internet-browser-is-such-a-ram-hog/
I'm just telling you to do some research first, so you understand these things a little better.
-
@mib2berlin said in Memory leak in Vivaldi v5?:
@RasheedHolland
Hi, I guess it is a issue with not restarting Vivaldi for several days, 6000 bookmarks should only slowdown the start of Vivaldi.
This it looks with 201 tabs open on Windows 11, clean profile no extensions:Such issues are hard to fix, it depends on which URL´s are open in this 200 tabs, may only some tabs are leaking, running Java scripts or something.
Cheers, mib
Trust me, it's not only about not restarting Vivaldi for days, even when Vivaldi is active for only 20 minutes or so, it will still drain my RAM with certain sites. It also happens with www.fcupdate.nl for example, I don't see what's so heavy about this site. And again, uBlock Origin is already blocking lots of scripts from third party domains. Also, did you or anyone else check out the problem when bookmarking websites, do you also get to see this?
-
@RasheedHolland
The page http://www.fcupdate.nl/ use one core of my CPU 100% but I don´t use any blocker except Vivadi´s.
Strange page, you can reload it with F5 or Crtl+F5, check this page in the Vivaldi task manager from Tools menu or with Shift+Esc.Cheers, mib