GNOME - Too much RAM usage


Hello! I'll start by apologizing for starting a thread on a topic that probably gets covered a lot, however, most of the posts I found covering this issue were unrelated to my specific problem (such as people not realizing RAM-consuming programs were running)

My system, with no applications such as firefox running, consumes from 1.4 to 1.7 GB of memory. This is a drastic difference than when I used Manjaro Cinnamon, which would consume about 900MB in the same circumstances.

The consumed RAM is split between many programs that don't really use a lot of memory on their own, but when added up, it's a lot.

The ouput of ps_mem is:

 Private  +   Shared  =  RAM used	Program

360.0 KiB + 464.0 KiB = 824.0 KiB	lvmetad
364.0 KiB + 486.0 KiB = 850.0 KiB	rtkit-daemon
436.0 KiB + 594.0 KiB =   1.0 MiB	gnome-session-ctl
728.0 KiB + 896.0 KiB =   1.6 MiB	gdm-x-session
724.0 KiB + 900.0 KiB =   1.6 MiB	xdg-permission-store
708.0 KiB +   1.1 MiB =   1.7 MiB	gpg-agent
804.0 KiB + 989.0 KiB =   1.8 MiB	gsd-a11y-settings
832.0 KiB +   1.0 MiB =   1.8 MiB	gsd-screensaver-proxy
836.0 KiB +   1.0 MiB =   1.8 MiB	gvfsd-metadata
876.0 KiB +   1.1 MiB =   1.9 MiB	gvfs-goa-volume-monitor
916.0 KiB +   1.1 MiB =   2.0 MiB	gsd-rfkill
936.0 KiB +   1.1 MiB =   2.1 MiB	at-spi-bus-launcher
996.0 KiB +   1.1 MiB =   2.1 MiB	gvfs-mtp-volume-monitor
  1.1 MiB +   1.2 MiB =   2.3 MiB	dconf-service
  1.0 MiB +   1.2 MiB =   2.3 MiB	accounts-daemon
  1.0 MiB +   1.3 MiB =   2.4 MiB	gsd-housekeeping
844.0 KiB +   1.6 MiB =   2.5 MiB	systemd-timedated
  1.1 MiB +   1.4 MiB =   2.6 MiB	gvfsd
  1.1 MiB +   1.4 MiB =   2.6 MiB	at-spi2-registryd
  1.1 MiB +   1.5 MiB =   2.6 MiB	gsettings-helper
  1.1 MiB +   1.6 MiB =   2.7 MiB	fprintd
  1.3 MiB +   1.5 MiB =   2.7 MiB	gvfsd-fuse
  1.2 MiB +   1.6 MiB =   2.8 MiB	gvfsd-dnssd
  1.2 MiB +   1.6 MiB =   2.8 MiB	gsd-sound
  1.1 MiB +   1.8 MiB =   2.9 MiB	gsd-wwan
  1.3 MiB +   1.7 MiB =   3.0 MiB	gsd-disk-utility-notify
  1.3 MiB +   1.7 MiB =   3.0 MiB	gvfsd-network
  1.3 MiB +   1.9 MiB =   3.2 MiB	obexd
  1.5 MiB +   1.7 MiB =   3.2 MiB	bluetoothd
  1.4 MiB +   1.9 MiB =   3.3 MiB	gvfsd-trash
  1.3 MiB +   2.1 MiB =   3.3 MiB	gvfs-afc-volume-monitor
  1.5 MiB +   1.9 MiB =   3.3 MiB	gdm
  1.6 MiB +   1.9 MiB =   3.5 MiB	nano
  1.4 MiB +   2.4 MiB =   3.8 MiB	systemd-logind
  1.8 MiB +   2.2 MiB =   4.0 MiB	goa-identity-service
  1.5 MiB +   2.6 MiB =   4.1 MiB	gsd-print-notifications
  1.8 MiB +   2.6 MiB =   4.4 MiB	gsd-sharing
  1.9 MiB +   2.7 MiB =   4.6 MiB	sudo
  2.0 MiB +   2.8 MiB =   4.8 MiB	gnome-keyring-daemon
  2.0 MiB +   2.9 MiB =   4.9 MiB	upowerd
  1.7 MiB +   3.3 MiB =   5.0 MiB	(sd-pam)
  2.0 MiB +   3.1 MiB =   5.1 MiB	gsd-printer
  2.1 MiB +   3.1 MiB =   5.2 MiB	gsd-datetime
  2.3 MiB +   3.2 MiB =   5.5 MiB	gvfs-udisks2-volume-monitor
  2.2 MiB +   3.4 MiB =   5.6 MiB	cupsd
  2.4 MiB +   3.3 MiB =   5.7 MiB	gdm-session-worker
  2.8 MiB +   3.2 MiB =   6.0 MiB	gsd-smartcard
  3.2 MiB +   3.2 MiB =   6.4 MiB	haveged
  3.1 MiB +   4.2 MiB =   7.3 MiB	wpa_supplicant
  3.2 MiB +   4.1 MiB =   7.3 MiB	systemd-udevd
  3.0 MiB +   5.5 MiB =   8.5 MiB	bash (2)
  4.2 MiB +   4.7 MiB =   8.9 MiB	ModemManager
  3.5 MiB +   6.2 MiB =   9.7 MiB	mission-control-5
  4.7 MiB +   5.7 MiB =  10.3 MiB	udisksd
  4.6 MiB +   6.7 MiB =  11.3 MiB	gnome-session-binary (2)
  5.4 MiB +   6.5 MiB =  11.9 MiB	dbus-daemon (3)
  4.2 MiB +   7.8 MiB =  12.0 MiB	gnome-shell-calendar-server
  3.6 MiB +   9.0 MiB =  12.5 MiB	systemd (2)
  5.7 MiB +   6.8 MiB =  12.5 MiB	colord
  4.7 MiB +   8.0 MiB =  12.7 MiB	evolution-source-registry
  7.2 MiB +   8.7 MiB =  16.0 MiB	pulseaudio
  7.5 MiB +   8.9 MiB =  16.5 MiB	gnome-calculator-search-provider
  7.6 MiB +   9.0 MiB =  16.6 MiB	gnome-control-center-search-provider
  7.7 MiB +   9.6 MiB =  17.3 MiB	NetworkManager
  8.0 MiB +   9.4 MiB =  17.3 MiB	gsd-keyboard
  8.1 MiB +   9.5 MiB =  17.6 MiB	gsd-wacom
  6.1 MiB +  11.7 MiB =  17.8 MiB	evolution-calendar-factory
  5.9 MiB +  12.1 MiB =  18.0 MiB	evolution-addressbook-factory
  8.4 MiB +  10.5 MiB =  19.0 MiB	gsd-xsettings
  9.2 MiB +  11.2 MiB =  20.4 MiB	gsd-color
  9.1 MiB +  11.5 MiB =  20.6 MiB	gsd-power
  9.3 MiB +  12.0 MiB =  21.3 MiB	gsd-media-keys
  6.4 MiB +  15.5 MiB =  21.9 MiB	goa-daemon
  8.0 MiB +  14.3 MiB =  22.2 MiB	polkitd
 11.6 MiB +  13.7 MiB =  25.3 MiB	python3.8
 13.4 MiB +  22.0 MiB =  35.4 MiB	gnome-terminal-server
 13.9 MiB +  23.5 MiB =  37.4 MiB	org.gnome.Chara
 15.3 MiB +  28.7 MiB =  44.0 MiB	gnome-calendar
 18.1 MiB +  27.7 MiB =  45.8 MiB	seahorse
 16.3 MiB +  32.5 MiB =  48.8 MiB	evolution-alarm-notify
 25.4 MiB +  32.0 MiB =  57.4 MiB	lollypop-sp
 28.3 MiB +  37.5 MiB =  65.7 MiB	c
 21.8 MiB +  51.5 MiB =  73.3 MiB	systemd-journald
 39.1 MiB +  49.2 MiB =  88.3 MiB	Xorg
 61.5 MiB +  64.4 MiB = 125.8 MiB	tracker-miner-fs
172.8 MiB + 204.3 MiB = 377.1 MiB	gnome-shell
---------------------------------
                          1.5 GiB
=================================

Is this normal for GNOME? It's my first experience with it and I've been enjoying it: it's not using as much CPU and battery as I thought it would, which was the main reason I never tried it. The RAM usage is a bit weird though.

Other useful information:

inxi -Fxxxza --no-host

System:
  Kernel: 5.4.6-2-MANJARO x86_64 bits: 64 compiler: gcc v: 9.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 
  root=UUID=5abfccce-275b-476e-9d6e-bd274c6ed85b rw quiet apparmor=1 security=apparmor 
  resume=UUID=8fbe41b7-1661-48be-be15-7085f84e238d udev.log_priority=3 
  Desktop: Gnome 3.34.2 wm: gnome-shell dm: GDM 3.34.1 Distro: Manjaro Linux 
Machine:
  Type: Laptop System: Dell product: Inspiron 7460 v: N/A serial: <filter> Chassis: 
  type: 10 serial: <filter> 
  Mobo: Dell model: 09WC1G v: A01 serial: <filter> UEFI: Dell v: 1.1.1 
  date: 02/14/2017 
Battery:
  ID-1: BAT0 charge: 27.4 Wh condition: 36.3/42.0 Wh (86%) volts: 12.7/11.4 
  model: SMP DELL Y3F7Y6B type: Li-ion serial: <filter> status: Charging 
CPU:
  Topology: Dual Core model: Intel Core i7-7500U bits: 64 type: MT MCP 
  arch: Amber Lake family: 6 model-id: 8E (142) stepping: 9 microcode: CA 
  L2 cache: 4096 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 23209 
  Speed: 800 MHz min/max: 400/3500 MHz Core speeds (MHz): 1: 1155 2: 1249 3: 1501 
  4: 1436 
  Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, 
  STIBP: conditional, RSB filling 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel HD Graphics 620 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
  chip ID: 8086:5916 
  Device-2: NVIDIA GM108M [GeForce 940MX] vendor: Dell driver: nvidia v: 430.64 
  bus ID: 01:00.0 chip ID: 10de:134d 
  Display: x11 server: X.org 1.20.6 driver: nvidia compositor: gnome-shell 
  resolution: <xdpyinfo missing> 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 620 (Kaby Lake GT2) v: 4.6 Mesa 19.3.1 
  compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver: snd_hda_intel 
  v: kernel bus ID: 00:1f.3 chip ID: 8086:9d71 
  Sound Server: ALSA v: k5.4.6-2-MANJARO 
Network:
  Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Dell 
  driver: ath10k_pci v: kernel port: e000 bus ID: 02:00.0 chip ID: 168c:003e 
  IF: wlp2s0 state: up mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Dell 
  driver: r8169 v: kernel port: d000 bus ID: 03:00.0 chip ID: 10ec:8168 
  IF: enp3s0 state: down mac: <filter> 
  Device-3: Dell Dell KM632 Wireless Keyboard and Mouse type: USB 
  driver: hid-generic,usbhid bus ID: 1-3:2 chip ID: 413c:2501 
  Device-4: Qualcomm Atheros type: USB driver: btusb bus ID: 1-8:5 chip ID: 0cf3:e007 
Drives:
  Local Storage: total: 931.51 GiB used: 20.42 GiB (2.2%) 
  ID-1: /dev/sda vendor: Seagate model: ST1000LM035-1RK172 size: 931.51 GiB 
  block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm 
  serial: <filter> rev: SDM2 scheme: GPT 
Partition:
  ID-1: / raw size: 197.99 GiB size: 193.88 GiB (97.93%) used: 20.35 GiB (10.5%) 
  fs: ext4 dev: /dev/sda5 
  ID-2: swap-1 size: 2.00 GiB used: 0 KiB (0.0%) fs: swap swappiness: 60 (default) 
  cache pressure: 100 (default) dev: /dev/sda9 
Sensors:
  System Temperatures: cpu: 51.0 C mobo: 47.0 C sodimm: 45.0 C 
  Fan Speeds (RPM): cpu: 2543 
Info:
  Processes: 198 Uptime: 3h 13m Memory: 7.68 GiB used: 1.79 GiB (23.3%) Init: systemd 
  v: 242 Compilers: gcc: 9.2.0 clang: 9.0.0 Shell: bash v: 5.0.11 
  running in: gnome-terminal inxi: 3.0.37 

Not sure if useful information:

Using optimus-manager to manage usage of either the Intel GPU or the Nvidia GPU
GNOME Night Light is on


Seems about right. Cinnamon generally does use a bit less ram than gnome.

...Everything uses less ram than gnome :grin:

Given your output it looks pretty normal. You have a few points where you could slim ... probably getting you to boot in under or around 1GB .. and again that seems about normal for gnome. I have read other users supposedly getting down to 400-500ish mb ... but I suspect they are rather minimal compared to what most consider 'normal gnome'.

Yup - Gnome is using memory to provide it's functionality.

You are adding up private+shared memory and compare that with other DEs. I believe that this is misleading.

I am not an expert, but from my point of view it can well be that due to the gnome architecture it has more processes using shared memory. But adding the shared memory all up would be wrong because they all access the same shared memory.

2 Likes

Interestingly, on linux 4.19 I get 1 Go less than on linux 5.4.6!
Linux 4.19:

 Private  +   Shared  =  RAM used	Program

376.0 KiB +  52.5 KiB = 428.5 KiB	lvmetad
380.0 KiB +  54.5 KiB = 434.5 KiB	rtkit-daemon
388.0 KiB +  47.5 KiB = 435.5 KiB	crond
432.0 KiB +  76.5 KiB = 508.5 KiB	gnome-session-ctl
720.0 KiB +  78.5 KiB = 798.5 KiB	ping
840.0 KiB +  99.5 KiB = 939.5 KiB	gsd-screensaver-proxy
868.0 KiB +  95.5 KiB = 963.5 KiB	gdm-x-session
876.0 KiB + 108.5 KiB = 984.5 KiB	gsd-a11y-settings
852.0 KiB + 155.5 KiB =   1.0 MiB	gvfsd-metadata
952.0 KiB + 102.5 KiB =   1.0 MiB	gvfs-mtp-volume-monitor
940.0 KiB + 130.5 KiB =   1.0 MiB	at-spi-bus-launcher
952.0 KiB + 152.5 KiB =   1.1 MiB	gvfs-goa-volume-monitor
  1.0 MiB + 105.5 KiB =   1.1 MiB	gsd-rfkill
820.0 KiB + 379.5 KiB =   1.2 MiB	systemd-hostnamed
840.0 KiB + 360.5 KiB =   1.2 MiB	systemd-localed
  1.1 MiB + 148.5 KiB =   1.2 MiB	at-spi2-registryd
  1.1 MiB + 175.5 KiB =   1.3 MiB	gsd-housekeeping
  1.2 MiB +  70.5 KiB =   1.3 MiB	dconf-service
  1.2 MiB +  89.5 KiB =   1.3 MiB	gvfsd-fuse
  1.1 MiB + 212.5 KiB =   1.3 MiB	gsettings-helper
  1.2 MiB + 163.5 KiB =   1.4 MiB	gvfsd
  1.2 MiB + 207.5 KiB =   1.4 MiB	gsd-disk-utility-notify
  1.2 MiB + 332.5 KiB =   1.5 MiB	gsd-wwan
  1.3 MiB + 250.5 KiB =   1.6 MiB	gsd-sound
  1.3 MiB + 287.5 KiB =   1.6 MiB	obexd
  1.3 MiB + 333.5 KiB =   1.6 MiB	gvfs-afc-volume-monitor
  1.6 MiB + 225.5 KiB =   1.8 MiB	gdm
  1.7 MiB + 109.5 KiB =   1.8 MiB	wpa_supplicant
  1.5 MiB + 425.5 KiB =   1.9 MiB	systemd-logind
  1.6 MiB + 353.5 KiB =   1.9 MiB	sudo
  1.9 MiB + 112.5 KiB =   2.0 MiB	accounts-daemon
  1.6 MiB + 486.5 KiB =   2.0 MiB	gsd-print-notifications
  1.9 MiB + 237.5 KiB =   2.1 MiB	goa-identity-service
  1.4 MiB + 814.5 KiB =   2.2 MiB	(sd-pam)
  1.8 MiB + 402.5 KiB =   2.2 MiB	upowerd
  1.8 MiB + 560.5 KiB =   2.4 MiB	gsd-sharing
  1.9 MiB + 547.5 KiB =   2.4 MiB	geoclue
  2.1 MiB + 449.5 KiB =   2.6 MiB	gsd-printer
  2.2 MiB + 391.5 KiB =   2.6 MiB	systemd-udevd
  2.2 MiB + 456.5 KiB =   2.6 MiB	gnome-keyring-daemon
  2.2 MiB + 542.5 KiB =   2.7 MiB	gsd-datetime
  2.5 MiB + 482.5 KiB =   3.0 MiB	gvfs-udisks2-volume-monitor
  2.8 MiB + 300.5 KiB =   3.1 MiB	gsd-smartcard
  2.6 MiB + 500.5 KiB =   3.1 MiB	cupsd
  3.2 MiB +  21.5 KiB =   3.2 MiB	haveged
  2.8 MiB + 434.5 KiB =   3.3 MiB	gdm-session-worker
  3.4 MiB + 149.5 KiB =   3.5 MiB	zsh
  4.2 MiB + 254.5 KiB =   4.4 MiB	ModemManager
  4.5 MiB + 476.5 KiB =   5.0 MiB	udisksd
  4.5 MiB + 588.5 KiB =   5.1 MiB	dbus-daemon (3)
  4.5 MiB + 706.5 KiB =   5.2 MiB	conky
  4.7 MiB +   1.1 MiB =   5.7 MiB	gnome-session-binary (2)
  3.1 MiB +   2.7 MiB =   5.8 MiB	systemd (2)
  5.7 MiB + 552.5 KiB =   6.2 MiB	colord
  6.7 MiB + 499.5 KiB =   7.2 MiB	pulseaudio
  8.2 MiB + 826.5 KiB =   9.0 MiB	gsd-keyboard
  8.2 MiB + 861.5 KiB =   9.1 MiB	gsd-wacom
  8.3 MiB + 833.5 KiB =   9.1 MiB	NetworkManager
  6.5 MiB +   2.7 MiB =   9.2 MiB	goa-daemon
  8.5 MiB + 920.5 KiB =   9.4 MiB	gsd-power
  8.5 MiB +   1.1 MiB =   9.6 MiB	gsd-xsettings
  8.9 MiB +   1.2 MiB =  10.1 MiB	gsd-color
  9.0 MiB +   1.2 MiB =  10.3 MiB	gsd-media-keys
  7.3 MiB +   4.3 MiB =  11.7 MiB	polkitd
 12.4 MiB +   2.3 MiB =  14.8 MiB	blueman-mechani
 13.0 MiB +   1.8 MiB =  14.8 MiB	tracker-miner-fs
 13.3 MiB +   1.6 MiB =  14.9 MiB	tracker-store
 10.0 MiB +   5.5 MiB =  15.5 MiB	gnome-shell-calendar-server
 10.3 MiB +   5.8 MiB =  16.2 MiB	evolution-addressbook-factory
 14.8 MiB +   1.6 MiB =  16.4 MiB	Xorg
 14.1 MiB +   5.8 MiB =  19.9 MiB	evolution-calendar-factory
 19.2 MiB +   1.2 MiB =  20.4 MiB	msm_notifier
 17.9 MiB +   2.5 MiB =  20.4 MiB	blueman-tray
 21.5 MiB + 281.5 KiB =  21.8 MiB	mullvad-daemon
 16.3 MiB +   6.6 MiB =  22.9 MiB	evolution-alarm-notify
 20.3 MiB +   3.6 MiB =  23.9 MiB	blueman-applet
 17.8 MiB +   6.3 MiB =  24.1 MiB	evolution-source-registry
 32.0 MiB +   5.0 MiB =  37.1 MiB	tilix
 34.4 MiB +   8.2 MiB =  42.6 MiB	systemd-journald
162.5 MiB +  15.8 MiB = 178.2 MiB	gnome-shell
167.8 MiB +  56.5 MiB = 224.3 MiB	mullvad-gui (4)
---------------------------------
                        941.0 MiB
=================================

Linux 5.4.6

 Private  +   Shared  =  RAM used	Program

316.0 KiB + 426.0 KiB = 742.0 KiB	lvmetad
384.0 KiB + 470.0 KiB = 854.0 KiB	crond
368.0 KiB + 488.0 KiB = 856.0 KiB	rtkit-daemon
432.0 KiB + 582.0 KiB =   1.0 MiB	gnome-session-ctl
696.0 KiB + 888.0 KiB =   1.5 MiB	xfconfd
732.0 KiB + 898.0 KiB =   1.6 MiB	ping
824.0 KiB +   1.0 MiB =   1.8 MiB	gsd-screensaver-proxy
868.0 KiB +   1.0 MiB =   1.9 MiB	gdm-x-session
808.0 KiB +   1.1 MiB =   1.9 MiB	gvfsd-metadata
880.0 KiB +   1.1 MiB =   1.9 MiB	gsd-a11y-settings
952.0 KiB +   1.1 MiB =   2.0 MiB	gvfs-mtp-volume-monitor
936.0 KiB +   1.1 MiB =   2.1 MiB	at-spi-bus-launcher
968.0 KiB +   1.1 MiB =   2.1 MiB	gsd-rfkill
960.0 KiB +   1.2 MiB =   2.2 MiB	gvfs-goa-volume-monitor
  1.1 MiB +   1.3 MiB =   2.4 MiB	at-spi2-registryd
  1.1 MiB +   1.4 MiB =   2.5 MiB	gsd-housekeeping
  1.1 MiB +   1.5 MiB =   2.6 MiB	gsettings-helper
  1.2 MiB +   1.4 MiB =   2.6 MiB	dconf-service
  1.1 MiB +   1.6 MiB =   2.7 MiB	gvfsd
  1.3 MiB +   1.4 MiB =   2.7 MiB	gvfsd-fuse
  1.2 MiB +   1.6 MiB =   2.8 MiB	gsd-disk-utility-notify
  1.2 MiB +   1.8 MiB =   3.0 MiB	gsd-wwan
  1.3 MiB +   1.8 MiB =   3.0 MiB	gsd-sound
  1.3 MiB +   1.8 MiB =   3.1 MiB	obexd
  1.3 MiB +   1.8 MiB =   3.1 MiB	gvfs-afc-volume-monitor
  1.3 MiB +   1.9 MiB =   3.2 MiB	gvfsd-trash
  1.7 MiB +   1.9 MiB =   3.6 MiB	wpa_supplicant
  1.6 MiB +   2.0 MiB =   3.6 MiB	gdm
  1.6 MiB +   2.1 MiB =   3.7 MiB	bash
  1.6 MiB +   2.3 MiB =   3.9 MiB	sudo
  1.9 MiB +   2.1 MiB =   3.9 MiB	accounts-daemon
  1.5 MiB +   2.5 MiB =   4.0 MiB	systemd-logind
  1.6 MiB +   2.4 MiB =   4.0 MiB	gsd-print-notifications
  1.9 MiB +   2.3 MiB =   4.2 MiB	goa-identity-service
  1.9 MiB +   2.6 MiB =   4.5 MiB	upowerd
  1.4 MiB +   3.0 MiB =   4.5 MiB	(sd-pam)
  1.8 MiB +   2.9 MiB =   4.8 MiB	gsd-sharing
  1.9 MiB +   2.9 MiB =   4.8 MiB	geoclue
  2.1 MiB +   3.0 MiB =   5.1 MiB	gsd-printer
  2.2 MiB +   3.0 MiB =   5.2 MiB	gnome-keyring-daemon
  2.2 MiB +   3.2 MiB =   5.4 MiB	gsd-datetime
  2.3 MiB +   3.2 MiB =   5.5 MiB	systemd-udevd
  2.5 MiB +   3.4 MiB =   5.9 MiB	gvfs-udisks2-volume-monitor
  2.7 MiB +   3.5 MiB =   6.2 MiB	cupsd
  2.8 MiB +   3.4 MiB =   6.2 MiB	gsd-smartcard
  3.2 MiB +   3.2 MiB =   6.4 MiB	haveged
  2.9 MiB +   3.7 MiB =   6.5 MiB	gdm-session-worker
  3.3 MiB +   3.6 MiB =   6.9 MiB	zsh
  4.2 MiB +   4.7 MiB =   8.9 MiB	ModemManager
  4.5 MiB +   5.5 MiB =  10.0 MiB	udisksd
  4.5 MiB +   5.5 MiB =  10.0 MiB	conky
  4.7 MiB +   6.8 MiB =  11.4 MiB	gnome-session-binary (2)
  3.3 MiB +   8.9 MiB =  12.2 MiB	systemd (2)
  5.7 MiB +   6.8 MiB =  12.5 MiB	colord
  6.0 MiB +   7.2 MiB =  13.2 MiB	dbus-daemon (3)
  6.7 MiB +   7.7 MiB =  14.4 MiB	pulseaudio
  8.1 MiB +   9.6 MiB =  17.8 MiB	gsd-keyboard
  8.2 MiB +   9.8 MiB =  18.0 MiB	gsd-wacom
  8.2 MiB +   9.8 MiB =  18.0 MiB	NetworkManager
  6.4 MiB +  11.8 MiB =  18.2 MiB	goa-daemon
  8.6 MiB +  10.2 MiB =  18.8 MiB	gsd-power
  8.5 MiB +  10.4 MiB =  18.9 MiB	gsd-xsettings
  9.0 MiB +  11.2 MiB =  20.2 MiB	gsd-color
  9.0 MiB +  11.4 MiB =  20.4 MiB	gsd-media-keys
  7.3 MiB +  16.0 MiB =  23.4 MiB	polkitd
 12.8 MiB +  16.4 MiB =  29.2 MiB	tracker-miner-fs
 13.3 MiB +  16.4 MiB =  29.7 MiB	tracker-store
  9.9 MiB +  20.6 MiB =  30.6 MiB	gnome-shell-calendar-server
 10.4 MiB +  22.0 MiB =  32.4 MiB	evolution-addressbook-factory
 14.3 MiB +  23.0 MiB =  37.3 MiB	thunar
 13.9 MiB +  25.6 MiB =  39.5 MiB	evolution-calendar-factory
 19.1 MiB +  21.2 MiB =  40.3 MiB	msm_notifier
 17.9 MiB +  24.0 MiB =  41.9 MiB	blueman-tray
 21.3 MiB +  21.9 MiB =  43.2 MiB	mullvad-daemon
 19.9 MiB +  25.2 MiB =  45.1 MiB	Xorg
 16.2 MiB +  29.1 MiB =  45.3 MiB	evolution-alarm-notify
 17.8 MiB +  30.3 MiB =  48.2 MiB	evolution-source-registry
 20.5 MiB +  27.7 MiB =  48.2 MiB	blueman-applet
 20.5 MiB +  28.7 MiB =  49.2 MiB	geany
 32.1 MiB +  39.7 MiB =  71.8 MiB	tilix
 33.1 MiB +  48.8 MiB =  82.0 MiB	systemd-journald
169.6 MiB + 198.8 MiB = 368.4 MiB	gnome-shell
167.6 MiB + 281.3 MiB = 448.9 MiB	mullvad-gui (4)
---------------------------------
                          1.9 GiB
=================================

It seems to neatly double...

Let's not forget this
https://www.linuxatemyram.com/
System monitors can be a bit deceptive

1 Like

Gnome can be quite a bit slimmer than this, but this is within boundaries of normal behavior. Tip: calendar and email functionalities consume surprisingly much ram on gnome. If you are running out of ram, uninstalling evolution stuff can quickly get you more. The downside is not having calendar events integrated into the shell. Also if you are not using Bluetooth and/or printer, you can uninstall that stuff too.

Also,your biggest ram user seems to be mullvad-gui. Since the server is a separate process, you could maybe just run your vpn on the background without the gui?

But if you are not running out of ram, then more it is used the better.

I personally don't really have any ram issue. I have plenty! I could indeed do without mullvad gui, but it is handy! And I use evolution as my sole email prog, so it's not going anywhere.
It is however strange that the ram appears to double from one kernel to the next.

Yes, that part is indeed strange

It seems to specifically be the shared memory thats increasing with the kernel change.
I cant say for sure .. but it smacks to me of more robust memory caching in newer kernel.

Try another tool before jumping to that conclusion. Maybe ps_mem is at fault (wrongly determining shared memory)?
What does

$ free -h

tell you?
For my system on 5.4.6-2 just now:

$ sudo ps_mem | tail -2
                         11.5 GiB
=================================
$ free -h
              total        used        free      shared  buff/cache   available
Mem:           23Gi       6,2Gi       2,6Gi       608Mi        14Gi        16Gi
Swap:         5,8Gi       769Mi       5,1Gi

ksysguard shows numbers consistent with free: I'm sceptical about ps_mem numbers..

ps_mem, free and htop consistently show different numbers, even for linux 4.19.
I'll try again with linux 5.4.6 when I'm back on it.
Thanks!

Thanks for the replies!

free -h shows a different result than ps_mem.

              total        used        free      shared  buff/cache   available
Mem:          7,7Gi       651Mi       6,1Gi       146Mi       1,0Gi       6,6Gi
Swap:         2,0Gi          0B       2,0Gi

At the same time these results were recorded, ps_mem would say 1.4 GB were being used by the system. I couldn't figure out how those 1.4 GB were represented in free -h. I thought it would be something like used + shared or used + shared + cached, but they all yield different results. I find it weird that system monitors produce such different results.

Does anyone know how to disable the processes linked to evolution? I've been trying to find how to do this without any success. I've uninstalled evolution since I don't use it, but the processes persist.

To be clear: the intent of this thread was not to bash on GNOME or anything like that, but to understand a bit more about its RAM usage.

You need to uninstall evolution dataserver to get those out. Those processes are not autostarted but instead called directly by gnome-shell. This unfortunately means also uninstalling gnome-calendar and not getting calendar event integration in the gnome-shell.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by