Dear developers, can you make TV use less memory, please?

mailing
mailing Posts: 9
edited May 2022 in Linux only

I have a low memory (by todays standards) laptop.

I need to open lots of other stuff and besides the huge memory hungry todays browsers, TV is the second top consumer.

Can you make TV use less memory, please?

[asus@e403na ~]$ top -b -n 1 -o VIRT | head -12

top - 00:22:58 up 4 days, 1:55, 1 user, load average: 2,58, 4,09, 2,84

Tasks: 259 total,  1 running, 258 sleeping,  0 stopped,  0 zombie

%Cpu(s): 2,9 us, 2,9 sy, 0,0 ni, 92,9 id, 0,0 wa, 1,4 hi, 0,0 si, 0,0 st

GiB Mem :     3,7 total,     0,2 free,     2,1 used,     1,3 buff/cache

GiB Swap:    11,7 total,    11,7 free,     0,0 used.     0,8 avail Mem


   PID USER     PR NI   VIRT   RES   SHR S %CPU %MEM    TIME+ COMMAND

 17705 asus     20  0 3288,5m 571,4m  6,9m S  5,9 15,1 100:48.79 TeamViewer

  1261 polkitd  20  0 2598,2m 11,2m  4,6m S  0,0  0,3  0:17.14 polkitd

  1428 root     20  0 1717,7m 45,9m  1,6m S  0,0  1,2 15:15.24 opensnitchd

  1644 root     20  0 1565,5m 31,6m  1,2m S  0,0  0,8 13:37.88 teamviewerd

  2452 asus     20  0 1369,8m 22,5m  5,2m S  0,0  0,6  0:08.06 xdg-desktop-por



[asus@e403na ~]$ top -b -n 1 -o RES | head -12

top - 00:23:01 up 4 days, 1:55, 1 user, load average: 2,58, 4,09, 2,84

Tasks: 259 total,  1 running, 258 sleeping,  0 stopped,  0 zombie

%Cpu(s): 1,4 us, 5,7 sy, 0,0 ni, 91,4 id, 0,0 wa, 1,4 hi, 0,0 si, 0,0 st

GiB Mem :     3,7 total,     0,2 free,     2,1 used,     1,3 buff/cache

GiB Swap:    11,7 total,    11,7 free,     0,0 used.     0,8 avail Mem


   PID USER     PR NI   VIRT   RES   SHR S %CPU %MEM    TIME+ COMMAND

 17705 asus     20  0 3288,5m 571,4m  6,9m S  5,9 15,1 100:48.88 TeamViewer

  1666 root     20  0 656,5m 95,1m 65,6m S  0,0  2,5 30:35.59 Xorg

  1428 root     20  0 1717,7m 45,9m  1,6m S  5,9  1,2 15:15.27 opensnitchd

  2203 asus     20  0 1194,1m 41,6m  8,4m S  0,0  1,1  0:12.22 Thunar

   808 root     20  0 182,4m 37,5m 35,5m S  0,0  1,0  1:59.72 systemd-journal

Tagged:

Answers

  • mailing
    mailing Posts: 9

    and a more friendly ps_mem.py output:

    [asus@e403na ~]$ sudo ps_mem.py

     Private +  Shared = RAM used   Program


    [lots of few MB processes stripped]

     26.4 MiB + 34.4 MiB = 60.8 MiB   systemd-journald

     33.4 MiB + 34.8 MiB = 68.2 MiB   Thunar

     35.1 MiB + 35.2 MiB = 70.3 MiB   teamviewerd

     49.5 MiB + 49.6 MiB = 99.1 MiB   opensnitchd

     73.2 MiB + 80.7 MiB = 153.9 MiB   dnf

     65.2 MiB + 94.0 MiB = 159.2 MiB   Xorg

    575.7 MiB + 581.5 MiB =  1.1 GiB   TeamViewer

    666.5 MiB + 836.5 MiB =  1.5 GiB   firefox-bin (10)

    ---------------------------------

                             4.5 GiB

    =================================