Comment 2 for bug 328437

Revision history for this message
Shikaku (sarushikaku) wrote :

Compcache was activated randomly at some point after using Ubuntu 9.04. I manually removed it myself. I know it was not on because after installing Ubuntu I manually set a swap size and manually editted /etc/fstab to use it. I found it installed at one point when I was trying to figure out one day what was taking up so much RAM, and I found my swap size was different, added by 512MB. If it helps any, I noticed it was enabled after using and installing the dependencies for this script: http://ubuntuforums.org/showthread.php?t=1169505

I will post instructions on how to manually remove it, because disabling it will only reenable it on reboot:

To check if one has Compcache enabled run:
sudo swapon -s

If there is a ramzswap in there along with your normal swap settings it means it is enabled. To disable it:

sudo rm /usr/share/initramfs-tools/conf.d/compcache && sudo update-initramfs -u

And restart. Check to see if it is installed by running this again after rebooting:
sudo swapon -s

It should be gone now.

Instructions taken from http://ubuntuforums.org/showthread.php?p=7268741