Touch Display plugin memory usage high

Hi all,

I’m running Volumio 2.323 on a RPi3 with a HifiBerry Digi+ and the official 7" Touch Screen. I’m running serial-port-json-server (github.com/johnlauer/serial-por … /README.md) to accept commands from other systems so I can switch on or off my Rotel amplifier, connected to the serial (usb) port of the RPi3. The serial-port-json-server is killed regularly because of too little memory. I looked into the memory usage on the RPi3 and saw a couple (3) of chromium-browser processes, totalling up to about 30% memory usage. Is this normal, just for displaying the volumio page on the touch screen? How can I make the memory usage of those chromium-browser processes way less?

Here’s an output of top, sorted on memory usage:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
11042 root 20 0 447756 156960 127676 S 10.9 15.7 1:56.53 chromium-browse
10994 root 20 0 505648 112788 80092 S 36.4 11.3 6:27.85 chromium-browse
26495 volumio 20 0 195716 70028 20980 S 0.0 7.0 8:06.65 node
26532 volumio 20 0 79728 31084 18344 S 0.0 3.1 0:01.73 node
26533 volumio 20 0 79720 31008 18236 S 0.0 3.1 0:01.73 node
26526 volumio 20 0 79740 30908 18236 S 0.0 3.1 0:01.73 node
713 mpd 1 -19 149772 28280 11776 S 5.6 2.8 9:17.22 mpd
11006 root 20 0 168280 26120 21976 S 0.0 2.6 0:00.12 chromium-browse
26520 volumio 20 0 68200 20396 15952 S 0.0 2.0 0:00.44 node
10678 volumio 20 0 796536 19372 5936 S 0.0 1.9 0:02.28 serial-port-jso
1233 root 19 -1 108308 12768 5484 S 2.0 1.3 0:57.01 Xorg
1825 volumio 20 0 39316 10516 4416 S 0.0 1.1 2:51.48 spopd
26388 root 20 0 27116 6124 4704 S 0.0 0.6 0:00.80 winbindd
7946 root 20 0 11944 5200 4536 S 0.0 0.5 0:00.13 sshd
1493 volumio 20 0 119024 5180 3816 S 0.3 0.5 26:24.48 upmpdcli
1172 root 20 0 21288 3764 2552 S 0.3 0.4 1:25.41 nmbd
1188 root 20 0 27116 3752 2332 S 0.0 0.4 0:13.94 winbindd
1 root 20 0 5740 3740 2332 S 0.0 0.4 0:50.66 systemd
1272 root 20 0 19268 3480 1920 S 0.0 0.3 0:00.31 openbox
1242 root 20 0 34012 3408 1732 S 0.0 0.3 0:13.10 smbd
7582 volumio 20 0 5032 3332 2940 S 0.0 0.3 0:00.05 systemd
26580 volumio 20 0 26104 3232 2828 S 0.0 0.3 0:00.05 shairport-sync
7956 volumio 20 0 12080 3208 2556 S 0.3 0.3 0:02.40 sshd
1234 root 20 0 34012 3172 1496 S 0.0 0.3 0:32.64 smbd
660 root 20 0 7564 3080 4 S 0.0 0.3 3:22.67 haveged
7958 volumio 20 0 5168 2916 2492 S 0.0 0.3 0:00.21 bash
26477 root 20 0 8028 2776 2540 S 0.0 0.3 0:04.94 systemd-journal
826 root 20 0 17676 2568 2044 S 0.0 0.3 0:16.50 udisks-daemon
673 root 20 0 3764 2304 2060 S 0.0 0.2 0:10.43 systemd-logind
11064 volumio 20 0 5172 2220 1744 R 0.3 0.2 0:05.91 top
665 volumio 20 0 31360 2148 1324 S 0.0 0.2 0:31.39 volumio-remote-
785 ntp 20 0 5640 2148 1732 S 0.0 0.2 1:03.34 ntpd
1241 root 20 0 27116 2092 656 S 0.0 0.2 0:10.82 winbindd
705 avahi 20 0 3900 1600 1308 S 0.0 0.2 1:03.70 avahi-daemon
7585 volumio 20 0 7104 1480 0 S 0.0 0.1 0:00.00 (sd-pam)
1240 root 20 0 27116 1432 16 S 0.0 0.1 0:14.79 winbindd
1251 root 20 0 2924 1364 1208 S 0.0 0.1 0:00.03 volumiokiosk.sh
571 root 20 0 2116 1296 1108 S 0.0 0.1 0:00.04 dhcpcd
1173 root 20 0 20708 1172 0 S 0.0 0.1 0:00.00 nmbd
668 root 20 0 3412 900 708 S 0.0 0.1 0:03.33 cron
206 root 20 0 11524 616 4 S 0.0 0.1 0:00.72 systemd-udevd
881 root 20 0 35992 520 0 S 0.0 0.1 0:00.10 polkitd
642 statd 20 0 4536 500 4 S 0.0 0.0 0:00.01 rpc.statd
671 root 20 0 7776 452 4 S 0.0 0.0 0:00.12 sshd
716 message+ 20 0 5536 436 0 S 0.0 0.0 0:00.68 dbus-daemon
26519 volumio 20 0 1820 384 332 S 0.0 0.0 0:00.00 sh
834 root 20 0 8316 312 0 S 0.0 0.0 0:00.00 udisks-daemon
632 root 20 0 4348 304 0 S 0.0 0.0 0:11.51 rpcbind
662 volumio 20 0 6580 256 0 S 0.0 0.0 0:00.14 udisks-glue
791 avahi 20 0 3788 220 0 S 0.0 0.0 0:00.00 avahi-daemon
1268 root 20 0 3612 204 0 S 0.0 0.0 0:22.66 ssh-agent
658 root 20 0 2852 160 0 S 0.0 0.0 0:00.00 rpc.idmapd
809 root 20 0 3960 120 4 S 0.0 0.0 0:00.02 agetty
1232 root 20 0 3140 116 0 S 0.0 0.0 0:00.00 xinit
1196 root 20 0 1820 84 4 S 0.0 0.0 0:00.01 startx
1198 root 20 0 1732 72 0 S 0.0 0.0 0:00.00 netplugd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.42 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:18.48 ksoftirqd/0
5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
7 root 20 0 0 0 0 S 0.0 0.0 1:53.74 rcu_sched
8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
9 root rt 0 0 0 0 S 0.0 0.0 0:04.25 migration/0
10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 lru-add-drain
11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/0
12 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/1
13 root rt 0 0 0 0 S 0.0 0.0 0:05.98 migration/1
14 root 20 0 0 0 0 S 0.0 0.0 0:02.88 ksoftirqd/1

Thanks,

Evert

Chromium is very demanding in terms of resources, that’s why we don’t install it by default on Volumio, but made it available via a plugin. So people not interested in having a local UI won’t get their PI’s resources taxed by it.

I understand. I almost feel like throwing my touch screen out of the window or do something else useful with it). Too bad. It’s easy for my wife and kids using the touch screen. They’re either too young for a smartphone or not computer savvy enough.