A Linux kernel module for creating compressed RAM Install it on debian based devices: sudo apt-get install zram-config