Ubuntu 24.10 high ram usage

Hi,
Just installed Ubuntu 24.10 and noticed a very high ram usage. I’ve installed two softwares so far, Chromium and Miniconda (no venv is active). is there a way to find out what is the reason. so far aksing the ChatGPT, Google search, ect for help, hasn’t led to any solution.
( on LinuxMint never had this issue, even running ollama,open-webui and comfyui at once never got past 27GB ram usage.)

ps -e -o pid,cmd,%mem --sort=-%mem | head
    PID CMD                         %MEM
   4155 /usr/bin/gnome-shell         0.7
  64678 /snap/firefox/5437/usr/lib/  0.6
  66392 /snap/firefox/5437/usr/lib/  0.3
   5056 /usr/bin/gnome-system-monit  0.2
  69597 /snap/firefox/5437/usr/lib/  0.2
  65002 /snap/firefox/5437/usr/lib/  0.2
   4700 /usr/libexec/xdg-desktop-po  0.2
   4557 /usr/bin/Xwayland :0 -rootl  0.1
  74593 /snap/firefox/5437/usr/lib/  0.1

but the System Monitor shows a diffrent values:


and

1 Like

Sorry to say thst showing us screenshots does make it easy to help you.
Whenever possible please copy and paste text rather than images.

Have a look at what information you can get from terminal commands top and htop which may give better information than an image which I can’t see clearly enough.

Thank you for the reply. htop shows a diffrent story, same processes but diffrent memory usage. aksed in manjaro-gnome, fedora-gnome forums and seems it’s wayland related issue. just downloaded linuxmint. strange, as I said running usual workflow on linuxmint was less than 30GB now running one application already in 75GB


cat /proc/meminfo
MemTotal:       96320516 kB
MemFree:         2261648 kB
MemAvailable:   22556988 kB
Buffers:            6220 kB
Cached:         21333800 kB
SwapCached:         1260 kB
Active:          3098284 kB
Inactive:       40456492 kB
Active(anon):    2579540 kB
Inactive(anon): 19928196 kB
Active(file):     518744 kB
Inactive(file): 20528296 kB
Unevictable:       14552 kB
Mlocked:             152 kB
SwapTotal:       8388604 kB
SwapFree:        8349692 kB
Zswap:                 0 kB
Zswapped:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:      22228308 kB
Mapped:          1194616 kB
Shmem:            292980 kB
KReclaimable:     115336 kB
Slab:            1185120 kB
SReclaimable:     115336 kB
SUnreclaim:      1069784 kB
KernelStack:       27552 kB
PageTables:        90012 kB
SecPageTables:      3320 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    56548860 kB
Committed_AS:   32532860 kB
VmallocTotal:   34359738367 kB
VmallocUsed:     2316180 kB
VmallocChunk:          0 kB
Percpu:            20240 kB
HardwareCorrupted:     0 kB
AnonHugePages:    192512 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
FileHugePages:         0 kB
FilePmdMapped:         0 kB
Unaccepted:            0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB
DirectMap4k:     8255288 kB
DirectMap2M:    48177152 kB
DirectMap1G:    46137344 kB

procs -----------memory---------- ---swap-- -----io---- -system-- -------cpu-------
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st gu
 1  0  38912 2352520   6220 21442172    0    9   950 15656 15240    9  6  2 91  0  0  0

               total        used        free      shared  buff/cache   available
Mem:            91Gi        70Gi       2.2Gi       278Mi        20Gi        21Gi
Swap:          8.0Gi        38Mi       8.0Gi

1 Like

Linux Mint does not use Gnome. So the comparison is not really valid.

True and LinuxMint is based on Ubuntu too.
I reinstalled LinuxMint and ran the same workflow. It’s seems the difference is in how the resource usage is presented (Cache size and Ram usage). I don’t know which one is correct.

htop is usually the most correct one for endusers to read because it simply shows a sum of the actually used physical ram for applications (listed as RES in the app list as well) and comparing both htop outputs the values do not differ too much between your two systems.

the gnome tool seems to simply sum up the total of ram, buffers and caches which in the end should be as high as possible on a linux machine for performance but will not actually tell you a lot about application memory usage

1 Like

Thank you for your response. Yes, it seems that’s the case. If I might judge the data based on GPU temp and cooling noises from my tower PC, it’s definitely quieter now.

i prefer vmstat -s myself