Created
October 8, 2015 08:29
-
-
Save ndeloof/a237dee2027b8d45645b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modprobe zram | |
echo $((1024*1024*1024)) > /sys/block/zram0/disksize | |
mkswap /dev/zram0 | |
swapon -p 10 /dev/zram0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment