Viewing Xorg memory consumption : xrestop

For some reason Xorg on my desktop was using around 1400MB virt memory after 14 days uptime. (really, it filled up all my RAM and swap).

Asked at #fedora, and ivazquez mentioned xrestop. And so I installed it, ran it, and walla, the culprit was gnome-screensaver with 999MB RAM consumption (wtf!?!).

Killed it, and the RAM/Swap usage drop from 99%/99% to 44%/0%. Yay!.

Comments

Anonymous said…
Just FYI, gnome-system-monitor can provide the the same information
Anonymous said…
Me too ;))

xrestop - Display: localhost:0
Monitoring 48 clients. XErrors: 0
Pixmaps: 294249K total, Other: 191K total, All: 294440K total

res-base Wins GCs Fnts Pxms Misc Pxm mem Other Total PID Identifier
1800000 3 27 0 30 1661 256500K 39K 256539K 32421 gnome-screensaver
4400000 411 471 1 391 914 13714K 43K 13757K 594 Blogger: « Shadow Logs » - Post a
4a00000 73 89 1 215 78 7751K 6K 7758K 10590 Cushingov sindrom.doc (read-only) -
0200000 0 1 1 1 0 6890K 1K 6891K ? unknown
1e00000 56 45 1 15 37 3104K 4K 3108K 32425 File Manager
0000000 1 0 2 0 62 3000K 3K 3003K ? unknown
4000000 0 0 0 1 0 3000K 0B 3000K ? unknown
2200000 24 39 0 18 68 95K 3K 98K 32452 wnck-applet
3600000 2 3 0 8 54 94K 1K 95K 32536 notification-daemon
1400000 79 57 1 20 59 44K 5K 50K 32573 sealert

Popular posts from this blog

Tee'ing Python subprocess.Popen output

Consolidated community site infrastructure on Plone

HOWTO: Linux Container (LXC) on Fedora 12