Actually i discovered this problem when recently. My laptop use Intel Celeron(Which no one will buy on the first hand), and have about 883MB of RAM. I used to be a gnome user which is easy to used and have a lot of nice features too.. But i notice that my laptop cant handle the memory usage and there are some program used a lot of memory and cpu.
So I wonder what application lead to this huge of memory usage. I run "top" on the terminal and found out there is a program which usually be on top of everything in using memory and cpu. And it's xserver-xgl which i used to get 3d desktop environment in compiz.
As now i'm using fluxbox which has no 3d features, so i decided to turun off the xgl and use normal engine to run 2d desktop. i turn the xgl off with two step:
- mkdir ~/.config/xserver-xgl
- touch ~/.config/xserver-xgl/disable