I tried to install zRam using the following commands in the terminal:
sudo add-apt-repository ppa:shnatsel/zram
sudo apt-get update
sudo apt-get install zramswap-enabler
But it throws the following error message which says that the package is not available:
E: Couldn't find package zramswap-enabler
I tried to download and install the zramswap-enabler_0.2.1-0~12~oneiric1_all.deb package, but after the second reboot it stops working.