If I have zram installed on Ubuntu and I want to enlarge it. By default, I only have a 935 megabytes and I need more zram! Does anyone know how I could get more zram? I would like to have at least 3 gigabytes of zram.
Asked
Active
Viewed 1,444 times
1 Answers
0
In reading this page: Compressed RAM with zRAM, it appears that you set the size of the volume by editing the /etc/init/zramswap.conf file and changing the line that points to your zRAM block device to match the size you want.
e.g. in terminal (CTRL+ALT+T):
$ echo 3221225472 > /sys/block/zram0/disksize
I've never used it myself, so I cannot guarantee that I'm even close to correct!