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). -
@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
-
@Pathduck So being derogatory and laughing in someone's face is not being a dik!?
Your links are all over the map but basically confirms that yes memory is being hogged by browsers. It doesn't really matter how it works because the fact is that there are ways to significantly reduce memory usage which proves that it does not need to be (as much of) a memory hog in the first place. Memory hogging when it's otherwise just free not being used is fine but only if adaptive memory usage is properly applied which as can be deduced from what I originally commented is not always the case (maybe leave it to windows and it's standby memory function?).
-
@mib2berlin said in Memory leak in Vivaldi v5?:
http://www.fcupdate.nl/ site is all fckedup. Can't close it, can't go back. So?
-
@kisunviikset
Hi, no idea I am just testing what @RasheedHolland mention and I could close the page.
Open the Vivaldi task manager with Shift+Esc and kill the thread of http://www.fcupdate.nl/Or disable the Vivaldi add blocker for this page, the page reload and you should close it then.
Cheers, mib
-
@RasheedHolland said in Memory leak in Vivaldi v5?:
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 just wanted to point out that a memory leak specifically means that memory allocated to a program isn't properly deallocated once it is no longer needed. So Vivaldi momentarily using additional memory and then releasing it means it is not a memory leak.
Sure modern browsers use more memory with their compartmentalized processes and are showing ever more demanding websites as the average amount of user RAM goes up, but it is not right to call it a memory leak.
-
@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
I have just tested a new Vivaldi profile with no bookmarks and then I don't get to see this weird behavior. So it might indeed be caused by 6000+ bookmarks and Vivaldi staying in memory for days, but it's still weird.
-
@kisunviikset said in Memory leak in Vivaldi v5?:
@mib2berlin said in Memory leak in Vivaldi v5?:
http://www.fcupdate.nl/ site is all fckedup. Can't close it, can't go back. So?
I haven't got a clue why you guys are having problems with this site? It behaves normally at least when uBlock Origin is installed, but Vivaldi's adblocker should also remove all of the crap.
-
@nomadic said in Memory leak in Vivaldi v5?:
@RasheedHolland said in Memory leak in Vivaldi v5?:
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 just wanted to point out that a memory leak specifically means that memory allocated to a program isn't properly deallocated once it is no longer needed. So Vivaldi momentarily using additional memory and then releasing it means it is not a memory leak.
Sure modern browsers use more memory with their compartmentalized processes and are showing ever more demanding websites as the average amount of user RAM goes up, but it is not right to call it a memory leak.
I see what you mean, so it's perhaps not the right definition of memory leak. But what I'm trying to say is that it seems like Vivaldi doesn't handle RAM management in a good way. It sometimes also doesn't seem to release RAM even when certain tabs are closed.
-
Hi,
I'm on W7, so not valid test.About the Bookmarks I've many too but recently started to close V since Laptop is out of Battery and I usually Suspend it, so to avoid the Profile corruption doesn't stay open for days.