I am using Ubuntu 20.04 (Linux 5.8.0-48-generic #54~20.04.1-Ubuntu
) and today I find that gnome-shell
is using LOTS OF RAM
USER PR NI VIRT RES SHR %CPU %MEM TIME+ COMMAND
2365 gdm 20 0 14.7g 11.0g 10.8g S 0.0 35.1 143:54.82 gnome-shell
76510 youran 20 0 8937064 3.2g 3.0g S 0.0 10.2 123:57.14 gnome-shell
This server has 32GB of RAM but 21GB is used even there is no workload.
total used free shared buff/cache available
Mem: 31Gi 21Gi 2.5Gi 1.8Gi 6.7Gi 7.1Gi
Notice that this server has been up for 123 days,
$ uptime
13:08:18 up 123 days, 22:54, 4 users, load average: 0.79, 1.19, 1.00
so I think there is some memory leak. I know a fresh restart can solve this problem. However, I want to know why, because Linux user should not always restart their computer. My gnome version is
$ gnome-shell --version
GNOME Shell 3.36.7
Related Questions:
- In Gnome-shell is taking a lot of ram
, the accepted answer suggests disabling gnome extensions, but I do not have any enabled extension.
$ gnome-extensions list desktop-icons@csoriano ubuntu-appindicators@ubuntu.com ubuntu-dock@ubuntu.com $ gnome-extensions list --enabled $
I know a fresh restart can solve this problem. However, I want to know why.
" However, I appreciate your answer, and your answer may be helpful for other users. – Youran Nov 17 '21 at 09:39