"GPU process" in Vivaldi, consumes 4 times more RAM than Chrome!
-
@ayespy said in "GPU process" in Vivaldi, consumes 4 times more RAM than Chrome!:
Vivaldi cannot use the proprietary codecs that Chrome uses. Vivaldi cannot afford the licensing.
What kind of codecs?
Who is the developer? -
@kirill1996 "The problem is that over time, the browser starts to consume more RAM!"
That's what I see - over time and usage, the RAM consumption just continuously creeps up. At least on Windows 10...
I never see a problem on my Linux, which hibernates for months at a time, but just streams videos and doesn't get my 'dozens of tabs' search binges of fancy clickbait websites.
On Windows it takes two or three days of searching and closing tabs, hibernating overnight, for the problem to become obvious. Like your examples, my Vivaldi task manager shows increasing consumption for most of the processes shown. But Process Explorer shows much larger numbers for the same processes, that more reliably predict when there will be out of memory failures.
Seems the only solution is to close and restart Vivaldi every day or two, and before an intentional search binge. Does this match your experience?
-
@lorenamelang said in "GPU process" in Vivaldi, consumes 4 times more RAM than Chrome!:
Seems the only solution is to close and restart Vivaldi every day or two, and before an intentional search binge. Does this match your experience?
I close the browser.
And I don't hibernate Windows, I shut it down completely. -
@lorenamelang said in "GPU process" in Vivaldi, consumes 4 times more RAM than Chrome!:
@kirill1996 "The problem is that over time, the browser starts to consume more RAM!"
That's what I see - over time and usage, the RAM consumption just continuously creeps up. At least on Windows 10...
On my primary system (Win10) consistently running latest Vivaldi Stable versions, I've been observing the same thing for at least 6 months now. That system has 8Gb of installed RAM and, after a system reboot, starts out consuming a total of around 3.1Gb of the RAM after Vivaldi is first started up with just one tab open. Normally, the browser is left on full-time, with it being minimized to the tray when not directly in use. After a day or two of browsing, the RAM consumption (with just the one tab) will have consistently risen slowly to around 3.6Gb; after a week or so of browsing, the system RAM consumption will have typically risen to around 4.1Gb. At that point, clearing Vivaldi's history, trash, and service workers only reduces RAM consumption by about 0.1 Gb. Closing and restarting the browser only reduces the consumption to around 3.5Gb, whereupon it rather quickly rises with browsing back to around 4.1Gb within less than a day. Logging out of the user account (and closing Vivaldi) causes the RAM consumption to drop back to 3.1Gb after logging back in to the user account and reopening Vivaldi to a single tab.
At one point, I left the system and Vivaldi running steadily for about 3 weeks and the RAM consumption rose to around 5.3Gb. On other occasions, I've left Vivaldi off in that system for a week or so and the other programs typically used within that same user account (Thunderbird, MS Office, Edge, Notepad, and a few simple utility programs) resulted in no change in the system RAM consumption after usage (remaining around 2.2Gb).
The Vivaldi installation on the primary system contains only 3 extensions: NoScript, Ghostery, and Cookie AutoDelete. All of them work fine and are largely static (their white/black listings are rarely changed).
The only conclusion I can draw is that there is some kind of slow memory and/or allocation leak occurring within Vivaldi that increases RAM consumption over time until the browser is restarted. Closing the browser alone recovers about half the RAM leakage (or increase) if the browser is soon restarted again, but quickly rises back to its pre-close amount. The full leakage is only fully recovered if the user account is also logged out (or the system is rebooted).
This issue is low-level enough for me that I've not reported it previously, since it's easy for me to simply restart the account (or system) when the RAM consumption rises enough to risk RAM-starving a few other infrequently-used high-RAM programs used in that same account. But it does seem to indicate some underlying leakage issue that may have greater impact/importance for other users - particularly those with marginal RAM or that also use RAM-hungry apps with Vivaldi open for a long time.
-
There is no need to shut down Vivaldi to recover RAM.
- Open the Vivaldi Task Manager (Shift+Escape)
- Select the GPU process
- End Task
It will immediately restart and will be using less RAM than before.
-
@blackbird I first started logging memory issues in May 2020. Does seem it got worse about six months ago. I also have 8GB, and your initial usage numbers look similar. But I have TBird, Libre Office, Trilium Notes, and SugarSync always open, too, so there is less space for Viv to expand into. I also have LastPass and a bunch of other greedy extensions in Vivaldi.
I can sometimes go a week with Vivaldi open and hibernating at night - but usually there will be a search binge with a few dozen tabs opening and closing (rarely more than ten open simultaneously), and the tiny sliver of free memory in my taskbar icon will get too scary, I'll close it all and restart Vivaldi.
As you say, memory usage is never as low as a fresh reboot - even before I start Vivaldi again. I've been assuming Windows also leaks memory... Things like explorer.exe, dwm.exe, MsMpEng.exe...
But I've never tried logging out of Vivaldi Sync before closing and restarting it. Just peeked at vivaldi://sync-internals but I don't see any likely indication of how much memory it might be using. I don't sync much - Preferences 127, Typed URLs 1589, Sessions 10... Maybe you use it more heavily? Or maybe there is more to login than just sync?
-
@lorenamelang said in "GPU process" in Vivaldi, consumes 4 times more RAM than Chrome!:
I first started logging memory issues in May 2020.
Note that there is no problem with pure Chromium, at all!
Therefore, the problem is with Vivaldi. -
@lorenamelang said in "GPU process" in Vivaldi, consumes 4 times more RAM than Chrome!:
But I've never tried logging out of Vivaldi Sync before closing and restarting it.
Got a bit too close to the memory limit, so I just tried this. Logging out of sync made zero difference on my system. Simply closing and restarting Vivaldi was just as effective.
But it reminded me why I hate logging into sync - it takes the account password and the encryption password, and neither one can be entered by LastPass. I have to go dig them up and copy - paste each one manually. Could Vivaldi enable password managers here?
-
@lorenamelang said in "GPU process" in Vivaldi, consumes 4 times more RAM than Chrome!:
But it reminded me why I hate logging into sync - it takes the account password and the encryption password, and neither one can be entered by LastPass. I have to go dig them up and copy - paste each one manually
Funny. You are logging out and in to the sync on daily basis?
-
@enc0re said in "GPU process" in Vivaldi, consumes 4 times more RAM than Chrome!:
Funny. You are logging out and in to the sync on daily basis?
No, thankfully. Only when there is (or might be) a problem with it.
-
That's what I see on a regular basis comparing V and Chrome. And the difference in numbers on given screenshot not that big as it could be. Latest versions, no flags/tweaks and Chrome has more extensions turned on. Even the same extensions consumes more memory on V.
-
@doctorg said in "GPU process" in Vivaldi, consumes 4 times more RAM than Chrome!:
With the video in 1080pHD i get on Chromium 96 and Vivaldi 5.1 for for GPU 380 MB at start and after start 270 MB.
Please check only with the video, may be tabs with other sites you had open cosumed GPU.
-
This is extremely abnormal!
Obviously there is a leak in the Windows version! -
@kirill1996 said in "GPU process" in Vivaldi, consumes 4 times more RAM than Chrome!:
This is extremely abnormal!
Not necessarily. Bowsers do not parse video. This is done by custom built-in codecs (which wealthy browsers like Chrome, Firefox or Edge have) or by open-source codecs or system codecs (like Vivaldi has to use). Again, it is not done by the browser. Different codecs, at different cost levels, operate with greater or lesser efficiency on different video types. Given that Vivaldi has to use different codecs from those of the wealthy browsers, then system interactions will be different - and it may be necessary to enable, force, or prevent hardware acceleration in order to use the optimal amount of resources on a given system for Vivaldi.
Here, as it turns out, my hardware and codecs/drivers situation is such that Vivaldi decodes and plays video efficiently with no special settings and without a drain on system resources.
-
@ayespy said in "GPU process" in Vivaldi, consumes 4 times more RAM than Chrome!:
Not necessarily. Bowsers do not parse video. This is done by custom built-in codecs (which wealthy browsers like Chrome, Firefox or Edge have) or by open-source codecs or system codecs (like Vivaldi has to use). Again, it is not done by the browser. Different codecs, at different cost levels, operate with greater or lesser efficiency on different video types. Given that Vivaldi has to use different codecs from those of the wealthy browsers, then system interactions will be different - and it may be necessary to enable, force, or prevent hardware acceleration in order to use the optimal amount of resources on a given system for Vivaldi.
Here, as it turns out, my hardware and codecs/drivers situation is such that Vivaldi decodes and plays video efficiently with no special settings and without a drain on system resources.
Vivaldi is EXTREMELY slower than Opera, in all aspects.
Memory consumption problems are everywhere in Vivaldi.
Chrome, Opera, and FF are also fine. -
So we have to solve the problem with the codec.
Maybe you can arrange with those who sell NORMAL codecs so that they will provide you with them for free.Your browser, has been extremely awful for a long time now.
Slowly opens sites, even simple ones.
Opera, just lightning fast, and Vivaldi... It's a nightmare. -
@kirill1996 And here, Vivaldi is like lightning on all of my machines, in all versions. So your implication that Vivaldi is inherently the way you experience it, for all, would not be accurate. In such a case the solution will lie in the way your machine and your connection treat Vivaldi's attempts to run and to render content, I suppose it's possible the Vivaldi could be re-written to perform better in your particular environment, but when testers and developers cannot reproduce your problems, how would you propose that they do that?
-
@ayespy said in "GPU process" in Vivaldi, consumes 4 times more RAM than Chrome!:
And here, Vivaldi is like lightning on all of my machines, in all versions. So your implication that Vivaldi is inherently the way you experience it, for all, would not be accurate. In such a case the solution will lie in the way your machine and your connection treat Vivaldi's attempts to run and to render content, I suppose it's possible the Vivaldi could be re-written to perform better in your particular environment, but when testers and developers cannot reproduce your problems, how would you propose that they do that?
E5450 + DDR3 8GB + GT 1030 GDDR5 2GB + WINDOWS 11 + SSD 120GB
It's not like it's a very weak configuration...
But, Opera is like a jet plane... And Vivaldi, just a monster hell.Strange coincidence, huh?
And the man above wrote that after a while, your browser, begins to consume a monstrous amount of RAM.
Why is there no problem with Opera, Chromium, Firefox and Chrome?
E5450 + DDR3 8GB + GT 1030 GDDR5 2GB + WINDOWS 11 + SSD 120GB
It's not like it's a very weak configuration...
But, Opera is like a jet plane... And Vivaldi, just a monster hell.Strange coincidence, huh?
And the man above wrote that after a while, your browser, begins to consume a monstrous amount of RAM.
Why is there no problem with Opera, Chromium, Firefox and Chrome?
It's not the video codec at all. Your browser, even with extensions, is just monstrously slow.
I tried reinstalling Windows and the browser. No change. -
@kirill1996 said in "GPU process" in Vivaldi, consumes 4 times more RAM than Chrome!:
Your browser, even with extensions, is just monstrously slow.
And yet, not here. Not at all, not on any of my machines. What can you think of that might separate the experience you are having on your hardware, with what I am having on mine? What might you be doing differently, or how might your environment differ?
If I cannot reproduce your experience at this end in 21 different instances of Vivaldi on 9 machines, Stable, Snapshot and an internal test version (or two or three) running Win10, Win11, Win7, ArchLinux, Linux Mint, in 64-bit and 32-bit configurations, on machines from four to nineteen years old (oldest machine is an HP a450n, built in 2003), then how might your environmental factors, security software, extension use, etc. differ from mine? This would be good to know.
-
@ayespy said in "GPU process" in Vivaldi, consumes 4 times more RAM than Chrome!:
If I cannot reproduce your experience at this end in 21 different instances of Vivaldi on 9 machines, Stable, Snapshot and an internal test version (or two or three) running Win10, Win11, Win7, ArchLinux, Linux Mint, in 64-bit and 32-bit configurations, on machines from four to nineteen years old (oldest machine is an HP a450n, built in 2003), then how might your environmental factors, security software, extension use, etc. differ from mine? This would be good to know.
All extensions are disabled.
Vivaldi and Opera are new.
Laptop with 2 cores Intel Celeron N3060 and 8 GB of RAM.
Nvme 120 gb.