In a world of Linux one such example is Ubuntu 12.04. The operating system supports a CPU consuming visual effects, for example, switching between windows.
In such situation an OS with small memory consumption is a must. One such an OS is a lightweight Linux OS named Lubuntu. At the start it consumes around 100M, which allows comfortably programming with such tools as Eclipse and web Browser.
In order to install Lubuntu one may go to their official website http://lubuntu.net/ and download their distribution. Or if have already installed some OS, such as Ubuntu, you may want to simply install Libuntu desktop with:
sudo apt-get install lubuntu-desktop