GDM memory use

Alex Regan mysqlstudent at gmail.com
Wed Jun 3 14:14:35 UTC 2015


> $ a=0; ps axfu | grep ^gdm| awk '{print $6}' | \
>    (while read x ; do a=$(( a + x )) ; done ; echo $a )
> 400760
>
> Does anyone else notice that gdm's session takes up 300-400MB of RAM?  I
> typically defend GNOME, but this is kind of ridiculous.

Is this really an accurate representation of the amount of memory used? 
Doesn't this involve shared memory used between other apps using the 
same libraries?

It's only a fraction of that here:

$ a=0; ps axfu | grep ^gdm| awk '{print $6}' | \
    (while read x ; do a=$(( a + x )) ; done ; echo $a )
1820

$ a=0; ps axfu | grep ^gdm
gdm       2590  0.0  0.0  44540  1816 ?        Ss   Feb27   0:01 
/usr/lib/systemd/systemd --user
gdm       2591  0.0  0.0  71924     4 ?        S    Feb27   0:00  \_ 
(sd-pam)

$ ps axfu |grep gdm
root      1988  0.0  0.0 299088  1972 ?        Ssl  Feb27   0:00 
/usr/sbin/gdm
root      7394  0.0  0.0 382748  6592 ?        Sl   May26   0:00  \_ 
/usr/libexec/gdm-simple-slave --display-id 
/org/gnome/DisplayManager/Displays/_0
root      7399  1.9  0.3 463872 108456 tty1    Ssl+ May26 222:48      \_ 
/usr/bin/Xorg :0 -background none -verbose -auth 
/run/gdm/auth-for-gdm-WVkx7C/database -seat seat0 -nolisten tcp vt1
root      7573  0.0  0.0 369644 13636 ?        Sl   May26   0:02      \_ 
gdm-session-worker [pam/gdm-password]
gdm       2590  0.0  0.0  44540  1816 ?        Ss   Feb27   0:01 
/usr/lib/systemd/systemd --user
gdm       2591  0.0  0.0  71924     4 ?        S    Feb27   0:00  \_ 
(sd-pam)
alex     30390  0.0  0.0 112676  2256 pts/12   S+   10:13   0:00      \_ 
grep --color=auto gdm



Regards,
Alex


More information about the users mailing list