← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 569711] Re: The system is very slow. The memory is not freed after closing a program. (-pae)

 

After 40 minutes the computer is very slow. I have opened only Firefox and Terminal.
This Polkitd is taking 300MB of memory...and highest CPU.

The commands:
vasia@vasia-laptop:~$ cat /sys/kernel/debug/dri/0/gem_objects
2299 objects
77660160 object bytes
0 pinned
0 pin bytes
0 gtt bytes
0 gtt total
vasia@vasia-laptop:~$ pid=`pidof X` ; for t in `seq 1 10`; do eog /usr/share/backgrounds ; echo `grep "object bytes" /sys/kernel/debug/dri/0/gem_objects` `ps ocomm,vsz,rss $pid |grep X`; done
77631488 object bytes Xorg 48984 22588
77975552 object bytes Xorg 48984 22592
78684160 object bytes Xorg 48984 22592
78983168 object bytes Xorg 48984 22592
79327232 object bytes Xorg 48984 22640
79646720 object bytes Xorg 48984 22640
79953920 object bytes Xorg 48984 22688
80289792 object bytes Xorg 48984 22688
80265216 object bytes Xorg 48984 22688
80912384 object bytes Xorg 48984 22692
vasia@vasia-laptop:~$ cat /sys/kernel/debug/dri/0/gem_objects
2415 objects
80769024 object bytes
0 pinned
0 pin bytes
0 gtt bytes
0 gtt total
vasia@vasia-laptop:~$ sync
vasia@vasia-laptop:~$ sudo sh -c "echo 3 > /proc/sys/vm/drop_caches"
#here the memory cache is not freed!
I've killed polkitd and the memory was freed:
ps -e | grep polkitd

But the memory is slow filling up although I don't open other
applications!

Now I will close firefox to see if the memory is freed!

-- 
The system is very slow. The memory is not freed after closing a program. (-pae)
https://bugs.launchpad.net/bugs/569711
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-ati in ubuntu.



References