[VB-80821] Memory leak on latest Vivaldi
-
@antrax666 you are right, always the previous version of MacOS will work better than the new one, it happened to me with OS X Yosemite and El Capitan, I updated my Mac to El Capitan and automatically started with kernel problems after a clean installation haha.
I'm really glad that you have more resources to run Vivaldi, I guess I'll need more RAM or going to Windows if I want to use this web browser
I don't even expect nothing about the RAM usage after seeing your screenshot from August 12th, that was horrifying
-
Okay, progress. Vivaldi still hoarding RAM, but not anymore getting close to 60GB size, it now suddenly crash. Its not regular MacOS crash with send report window, it just close in second, you are browsing and bam browser gone. I havent catch how much RAM it uses before crash, but will be over 20GB for sure.
-
I guess the next question is: how many tabs do you have open at once? If the answer is over 50, that is way too many.
-
This memory leak is not tied to number of tabs as process browser grows with time (if you looked on screenshots above, you would see that there are barely any tabs open). I experience this even with few tabs open or many tabs open but only few actually loaded, I am using lazy load. Using more tabs just speed it up, but closing the tabs doesnt free the memory.
-
When I found out about vivaldi, I was extremely excited to see a browser which provides huge customisations and my most wanted feature of tab levels.
I started using it and exploring it but within days my laptop started to heat up insanely even with 5-10 open tabs. I had to restart the browser again to get rid of it. I can live with some less customisation but not the heat.
I keep a check on the progress since then every 2-3 months to see if there has been any progress because the day there is, im gonna switch to this as my default browser.
Its just been 1 hr since I opened vivaldi and just 2 tabs. its showing 256 MBs of usage and already started to heat up slowly with this as the only app with "Using Significant Energy" under the battery icon. This makes me extremely upset as to how bad a browser's performance can be. I use brave as my default and it has 39 tabs opened and neither restarted the system nor closed the browser once for around 4 days now. And during the 4 days, my laptop didn't heat up and the ram usage it shows now is 308 MB. But again its just a mediocre browser which I don't feel like using for many tasks.
I wish the Vivaldi team turns their attention to this and improve the performance. But I don't see that happening anytime soon (maybe not before version 10.0 which can take years)
-
@risingstark Vote for a Battery Saver Mode.
I don't know if this is an issue that mostly affects MacOS, but presumably there is a trade-off between performance and power use. On desktops, performance is the only thing that matters.
On my previous PC, also using Windows, I did notice the heavy CPU use, which caused overheating and shut down the PC if I watch High Resolution videos.
If you regularly watch high resolution videos, try switching to 720p or 480p and see if that reduces battery use.
-
@rogerdash Now running 5.2s and I have the same problem: Memory pressure β 12GB+ for Vivaldi...
Force quit and relaunch "cures" the problem!
But it sure would be nice to have an actual fix...
(If I've understood correctly the implementation scheme -derived from Google Chrome- the accommodation of the Dock icon's single instance requirement together with the 1 tab = 1 process factorization is (IMNTBHO:
) lead to the memory leakage...)
-
@oakdaleftl Do you have M1 or Intel CPU?
I have no problem tab=instance as those tabs consume from 5MB to 250MB and with lazy load its easy to manage, but Browser process is on MacOS growing over time, on Windows I dont have this issue with Browser process (max size on Windows is 300MB).
The latest Vivaldi still crash after Browser process grows to certain level, browsing 9gag and having internet radio in background you can achieve the crash in 24 hours.
-
@antrax666 Intel i5... I've confirmed (to my satisfaction
) that when Vivaldi starts using ~12 GB (that's Giga Bytes, folks!
) it all but shuts my system down.
(I've watched it jump from < 3 GB to almost 13 GB, with no change of state: No additional tabs or windows, no activity other than scroll a page while reading...)
Quitting Vivaldi brings my system back to a usable state; and relaunching Vivaldi "cures" the β I presume it's a leak...
My CPU often runs at ~160ΒΊ F, so my "experience" may not be typical!? (Please note: This machine has had problems due to over-heating long before I installed Vivaldi... It may -indeed- be "a notorious design flaw in the Mac mini" itself.)
-
I also have Intel. Luckily for me Vivaldi never took down MacOS, just it self.
I dont close the Vivaldi when Browser process is huge, because that will freeze my system when its managing the huge RAM consumption from swap to properly shut down. When it crash, its instantly empty and I can ran new instance way faster, just annoyingly it crash always when you dont need it...
Regarding the high temperature, my Air goes crazy too when I try to close Vivaldi properly and Browser process is over 10GB, but CPU is going crazy always when there is high memory pressure and there is reallocation of memory.
If I ever have chance to play with Mac with M1, will test Vivaldi there if this bug is present also on M1 or just on Intel CPUs.
-
@antrax666 Tomorrow I'm going to put a new fan into my machine... Fingers crossed!
But memory usage shouldn't spike like that: Something somewhere is allocating RAM for no good reason; and the app isn't monitoring it...and obviously not releasing it when it should!
Classic C-type language memory glitch: Probably a simple array pointer gone "rogue"! -
Hi all, it is very noticeable when I edit anything in confluence, even the input of characters slows down, while htop shows that the Vivaldi Framework uses 70% of the cpu.
MacBook Air M1, macOS Monterey 12.3.1
Vivaldi: 5.2.2623.41 (Stable channel) (arm64) -
@oakdaleftl Good luck with fan replacement, shouldn't be hard to swap.
I am not sure but Browser process I think is responsible for all data handling and it just doesn't throw old data away and keeps them allocated. In activity monitor real memory usage is normal but memory usage is this crazy thing (if I understand it right, memory usage is allocated memory space, which seems to be limited to 64GB, and real memory usage is what is actually used?).
-
@AntraX666 Memory usage (under the Chrome model) is bizarre β but the spikes to >12 GB are obvious signs that something is wrong...
I always run (at least) two profiles, and the synced profile's main window routinely sneaks up to over 200 tabs; which has never been a problem, before. (You should see the Window menu try to populate its favicons!) This is something new with 5.2...
-
@RuninGag I know how Chromium browsers behave, they are RAM needy, I would be fine with that, because you can always kill process which eats too much of RAM except the Browser process
The memory leak I first notice on Vivaldi 3.8, it was same till 5.something then Browser process started to crash reaching 15GB of RAM. So thats at least some change (to worse but change). Unfortunately Vivaldi on Mac seems pretty minor and I dont have Linux to test it there, my hope is it will get randomly fixed as it was randomly broken
By fav icons you mean icons for tabs? With that I dont have problem even 300+ tabs, what I share across platforms with 200+ tabs is that any audio freeze Vivaldi for moment, but I experience that from 3.5 so when I need audio or video with audio I know I have to keep tabs under 150.
-
I do know some sites cause browsers to eat more RAM, check with the Vivaldi task manager and see if you can track down which ones trigger the spike.
-
@Chas4 Tried that done that. If site consume more RAM you can see it in manager which site eats how much of RAM, but when Browser process grows, you have no clue why. Fastest way to make Browser process grow is browsing "infinite" scrolling sites (9gag is good for that) and leave some sites which dynamically redraw graphs. With this combination I can kill Browser task in less than 24 hours.
All you can change is the pace of growing of the Browser process, but it grows all the time Vivaldi is open.
And yes closing all tabs and task wont make Browser process any smaller.
-
@AntraX666 said in [VB-80821] Memory leak on latest Vivaldi:
Vivaldi on Mac seems pretty minor
What I've routinely noticed is that < 4 GB is well-behaved. Past 5 GB it'll head upwards of 12 GB (and beyond, if you let it...?). And it shows in terms of performance.
I've managed to overcome my reticence: When I note a blip in the trajectory, I quit Vivaldi and re-launch; it works and it's quite painless!I've not found any rhyme or reason for the blip... My main window is a mere 225 tabs, so it can't be that! (??
) Seriously, Vivaldi's browsers easily accommodate tab hoarding...
Is it a bug? Certainly. Is it a real problem -for me? No. Not really. But it would be nice to swat this one!
βββββββββββββββββββ
A more serious "happening" is the hang-on-right-click gremlin... Muscle memory makes it annoying! -
Necroposting yay!
Okay, latest Vivaldi and so far all same, memory leak still present and crashing when Browser process hoards over 16GB of memory space. I can crash Vivaldi in 4 hours if I will open and close many tabs. Kinda miss the times when it just grew up to 60GB and ran out of memory space and system told me, hey close something or bad things will happen.
-
@AntraX666 I stopped using Vivaldi and had to use a browser with features and stability for my work, but I always come back to this post to see if there's any solution to this problem, it's been almost 3 years and there's no solution haha, but I think everyone here thinks that this is "Mostly Solved", well, nevertheless, I always keep the hope that this will get solved someday, cheers!