gnome-shell eating high memory

Latest response

How we can restrict gnome-shell memory, because gnome-shell eating high memory.
Total memory on my server 32 Gb

Current gnome memory utilization 24 Gb

can pls tell me any suggestion

Responses

Hi Chandra,

It is a known fact that GNOME is more "resource hungry" than desktop environments like Xfce, for an example.
But 24 GB ? No, this is way too much ... there must be a special process which is consuming so much memory.
For comparison : I have tested RHEL 7.4 Server (GNOME GUI) on a 10 year old DELL machine with 4 GB RAM.

Execute top in a terminal and find out which process is using the extremely high amount of memory.
Maybe an application is not configured correctly or there is a process running in an "open-end-loop".
When it indeed is the gnome-shell process, restart the system - if this does not help, reinstall the DE.

Regards,
Christian

Yes, as Christian said check out process-wise memory usage, you may run "pidstat -l -r|sort -k8r" to find out memory usage for active processes. Also, there seems to be known issues with gnome-shell consuming high amount of memory... Check out these KBs https://access.redhat.com/solutions/2898921 https://access.redhat.com/solutions/1467233 if your environment matches.

Gnome shell (via gjs) isn't very effective at triggering garbage collection.

https://feaneron.com/2018/04/20/the-infamous-gnome-shell-memory-leak/

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.