Huge RAM consumption by Vivaldi



  • If I do not close Vivaldi after some time it uses a huge amount of RAM. Sometimes up to 8-9 GB !!!
    If I use some other programs parallel (e.g. Thunderbird, VirtualBox) my machine gets slower and slower after some time. It uses definitely more RAM than Chrome or any other browser I used.
    Normally I only close it for a reboot which I very rarely on Linux. ^^

    I did some analysis and now I think one of the reasons is that it uses nearly non shared memory (just aprox 100 MB). Maybe that's related on the fact that each tab is one process and when it's crashing it should not effect any other tab/process.

    But it's still not comprehensible why it needs

    After Vivaldi was running somedays it used 5.7 GB of real RAM (not RSS) with 47 processes:

    # > smem -tw
    Area                           Used      Cache   Noncache 
    firmware/hardware                 0          0          0 
    kernel image                      0          0          0 
    kernel dynamic memory       1333744   -3668708    5002452 
    userspace memory           14226544    5553924    8672620 
    free memory                  854800     854800          0 
    ----------------------------------------------------------
                               16415088    2740016   13675072 
                               16030 MB	   2675 MB	 13354 MB
    
    # > smem -U tom -t -P vivaldi-bin 
      PID User Command                         Swap      USS      PSS      RSS 
    15438 tom  /opt/vivaldi/vivaldi-bin --     6984        0      220    10640 
    15440 tom  /opt/vivaldi/vivaldi-bin --     6856      128      235     4092 
    15608 tom  /opt/vivaldi/vivaldi-bin --    19660     1448     2089    30564 
    	...
    11011 tom  /opt/vivaldi/vivaldi-bin --     8512   577344   581825   636036 
    15937 tom  /opt/vivaldi/vivaldi-bin --    12736   593460   599501   656376 
    15424 tom  /opt/vivaldi/vivaldi-bi       120536   814728   823694   865456 
    ---------------------------------------------------------------------------
       47 1                                  908480  5757700  5860679  7540920 
                                             887 MB  5623 MB  5723 MB  7364 MB
    

    After reboot of my machine and a fresh start of Vivaldi it comsumed 2.9 GB of real RAM with 34 processes:

    # > smem -U tom -t -P vivaldi-bin 
      PID User     Command                         Swap      USS      PSS      RSS 
     9698 tom      /opt/vivaldi/vivaldi-bin --        0      108      647    11672 
     9771 tom      /opt/vivaldi/vivaldi-bin --        0     3256    10212    21472 
    10632 tom      /opt/vivaldi/vivaldi-bin --        0    10584    12648    75748 
    	...
    10154 tom      /opt/vivaldi/vivaldi-bin --        0   294076   298499   378028 
    10170 tom      /opt/vivaldi/vivaldi-bin --        0   333808   337313   415328 
    10140 tom      /opt/vivaldi/vivaldi-bin --        0   362172   367638   447776 
    -------------------------------------------------------------------------------
       34 1                                           0  2840264  2965362  5209868
                                                         2773 MB  2896 MB  5088 MB
    

    Even when I do nothing in the browser RAM usage is growing up constantly:

    # > while true; do PROG=v"ivaldi-bin"; smem -U tom -t -P $PROG | awk -v PROC="$PROG" -v DAT="$(date +%F' '%X)" '$2~/1/ {printf "%s:\t%4d MB USS\t%4d MB PSS (%d Procs)\n", DAT, ($4/1024), ($5/1024), $1;}'; sleep 10; done
    2018-01-03 18:20:30:	3072 MB USS	3201 MB PSS (36 Procs)
    2018-01-03 18:20:41:	3077 MB USS	3205 MB PSS (36 Procs)
    2018-01-03 18:20:53:	3080 MB USS	3209 MB PSS (36 Procs)
    2018-01-03 18:21:04:	3079 MB USS	3210 MB PSS (36 Procs)
    2018-01-03 18:21:15:	3081 MB USS	3210 MB PSS (36 Procs)
    2018-01-03 18:21:27:	3085 MB USS	3214 MB PSS (36 Procs)
    2018-01-03 18:21:38:	3089 MB USS	3218 MB PSS (36 Procs)
    2018-01-03 18:21:49:	3092 MB USS	3220 MB PSS (36 Procs)
    2018-01-03 18:22:00:	3121 MB USS	3254 MB PSS (36 Procs)
    

    If you need more information for investigation just tell me what you need.

    Thanks in advance,
    Tom



  • @tstiefel
    Hi, use Vivaldi`s own taskmanager (Shift+Esc), it is maybe an extension.
    Vivaldi start one process for each tab and for each extension and a few more.

    Cheers, mib


Log in to reply
 

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