Memory-hungry Vivaldi



  • After upgrading to version 1.8x, Vivaldi become very memory-hungry.
    It eat up all physic memory and swap.

    I don't have any Extensions installed, but i suspect Flash-plugin.

    OS: OpenSUSE LEAP 42.2-1.150 64bits KDE
    Vivaldi: 1.8.770.56-1
    Flash: 25.0.0.148-1.1

    I did not have any problem before at it occore after upgrading Vivaldi 1.8x

    Best regards,
    Ronny Simonsen
    Narvik - Norway


  • Moderator

    Did it really used xx Gigabytes of swap and RAM?

    How many vivaldi processes? How many tabs are open? Which pages do you use? Many videos? Many Flash content?



  • @ronnys Same here. I'm running 1.9.818.40 (Official Build) dev (64-bit) on Linux Peppermint 7, on an Acer Aspire laptop, 4GB RAM. Vivaldi is hogging 50% + of memory if left open for a while. Restarting Vivaldi clears it, but it soon goes up to 50% plus again, even with only 2 or 3 tabs open. (The same tabs in Opera use only a fraction of this.)
    ps -u andy | grep vivaldi
    shows 10 vivaldi processes running.



  • There definitely are memory issues with Vivaldi and Linux. I'm on Manjaro.
    The ram usage slowly climbs to very high levels.
    For example. I had 10 tabs open, and nothing else running. I was using just over 3gb out of 4gb of ram. When I closed Vivaldi, I was using approx 480MB of ram in Manjaro. Clearly Vivaldi was using over 2.5GB for 10 tabs.
    I've since reopened Vivaldi, and the total system usage is now almost 800MB - less than 2.2GB less than before.
    So before, with the same tabs - Vivaldi was using around 2.5GB.
    After closing it, reopening it (with the exact same tabs) - Vivaldi was using about 350MB.

    Please look into this. It happens all the time.



  • To me on Linux Mint 18.1 (32 bit - 4 giga ram) it's not that heavy on the system. Even leaving in background for few hours. What I would say is that I never seen the memory growns up too much, at least for me. I post a screenshot from task manager in hope to help :smiley:
    0_1493863905714_Vivaldi Forum - Memory usage from Mint Task Manager (with 7 tabs open).png
    Edit:

    • Memoria condivisa = Shared memory
    • Avviato = Started at (Oggi = Today)

  • Moderator

    On my Linux 18.1, I see high RAM and CPU usage, but it does not seem to affect the performance of the browser or anything else.



  • @Ayespy said in Memory-hungry Vivaldi:

    On my Linux 18.1, I see high RAM and CPU usage, but it does not seem to affect the performance of the browser or anything else.

    Yes, exactly what i would say :relaxed:
    We also have to consider that now all browsers takes, at lest, 500/800 mega just at starting.


  • Vivaldi Team

    I have debugged a few of these issues and often it can be tracked to a memory hungry flash ad. It can be frustrating to debug as a reload of the page might not trigger it. So try to see how it works with an adblocker installed, e.g. ublock origin.

    Also remember that chromium can be memory hungry and it's not so easy to debug memory as you would need to observe whats going on when the memory is really full. As chromium would then be more aggressive with reclaiming, but before that happens it's good that Vivaldi uses a lot of memory because it speeds things up.



  • @gorm said in Memory-hungry Vivaldi:

    I have debugged a few of these issues and often it can be tracked to a memory hungry flash ad. It can be frustrating to debug as a reload of the page might not trigger it. So try to see how it works with an adblocker installed, e.g. ublock origin.

    Also remember that chromium can be memory hungry and it's not so easy to debug memory as you would need to observe whats going on when the memory is really full. As chromium would then be more aggressive with reclaiming, but before that happens it's good that Vivaldi uses a lot of memory because it speeds things up.

    Ublock origin is already installed in my case, so I don't think the issue is flash/ads.


  • Vivaldi Team

    @mintjberry I doubt you are seeing same issue. Your issue I wouldn't really call a bug at all as I understand it Vivaldi is just using unclaimed memory that your machine has free. Also we use more memory than chromium, both there is an overhead on each tab and for the whole ui.



  • @gorm said in Memory-hungry Vivaldi:

    @mintjberry I doubt you are seeing same issue. Your issue I wouldn't really call a bug at all as I understand it Vivaldi is just using unclaimed memory that your machine has free. Also we use more memory than chromium, both there is an overhead on each tab and for the whole ui.

    It causes my machine to lock up, as I run out of ram. I have to do a hard restart on my laptop.
    This is only with vivaldi running. Regardless, Vivaldi should not need ~3GB of ram with one window open, and about 10 tabs. It should not try to claim so much ram either, that's far too much.



  • @Marko-Indaco said in Memory-hungry Vivaldi:

    We also have to consider that now all browsers takes, at lest, 500/800 mega just at starting.

    Everybody is doing a bad job, so just join in with them?

    I think the amount of RAM used by Vivaldi is appalling. Vivaldi needs too much RAM right from the start and it gets worse after some time because once having used several tabs only part of their processes' RAM gets available again after closing those tabs. Right now Vivaldi on my Debian system consumes 1,9 GB of RAM with only one tab (the one to write this).



  • @ghpy said in Memory-hungry Vivaldi:

    @Marko-Indaco said in Memory-hungry Vivaldi:

    We also have to consider that now all browsers takes, at lest, 500/800 mega just at starting.

    Everybody is doing a bad job, so just join in with them?

    LOL wth... I only point the fact that, nowadays, almost all browsers takes lot of ram. And also webpages are much more heavier than the past. Anyway, in my experience, even if Vivaldi uses lot of ram, I didn't see particular slowdown (as @Ayespy say), except for the fact that my pc begin too old (I'm with 4giga ram and a GeForce 9500 GT). greetings :hand_splayed:



  • glen@GU17:~$ lsb_release -a
    Distributor ID:	Ubuntu
    Description:	Ubuntu 17.04
    Release:	17.04
    Codename:	zesty
    
    glen@GU17:~$ vivaldi --version
    Vivaldi 1.9.818.44
    
    glen@GU17:~$ free -mt
                  total        used        free      shared  buff/cache   available
    Mem:           3931        1857         730          74        1343        1744
    Swap:          4766           0        4766
    Total:         8698        1857        5497
    

    Total Vivaldi memory use (10 tabs)

    glen@GU17:~$ watch -d -n1 'ps -aux|awk '\''BEGIN{x=0;y=0;} /[v]ivaldi/{x=x+$4;y=y+$6} END{print(x"% Memory and "((y/1024)/1024)" Memory Size(GB)");}'\'''
    
    32.4% Memory and 1.26668 Memory Size(GB)
    


  • Not good. I've seen this process at 700MB. It's just a unRAID tab, and a Deluge tab.
    alt text



  • Over 1GB used in Vivaldi with just two extensions running, no open tabs, other than the start page. (RAM usage below the time at the top).
    Before closing Vivaldi.
    alt text

    After closing Vivaldi:
    alt text



  • @mintjberry
    Nice conky. :wink:
    alt text



  • @CantankRus Would you be willing to share that conky conf?



  • @Tiamarth
    Sure.
    You can download a tar.gz archive from here. (Megasync link)
    Archive contains:

    • date-sysinfo.conkyrc using lua script for semi-transparent background (rounded corners)
    • date-sysinfo-no_lua.conkyrc using argb for semi-transparent background (square corners)
    • font
    • draw_bg3.lua script to draw rounded corner background

    Notes

    1. I'm using gnome-shell where own_window_type desktop works but you may need to change.
    2. In the date-sysinfo.conkyrc, set the path for the included .lua file.
    3. Move the font to ~/.fonts if you don't have it.
    4. You can change the text colors by altering the color1 and color2 values in the conky config.

    The semi-transparency makes it readable on all backgrounds.
    0_1494560487578_055.jpg



  • @mintjberry Interesting thing btw is that the vivaldi taskmanager shows that only 448mb are in use and not 1gb...


Log in to reply
 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.