0

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.

SnorriChinchilla
  • 339
  • 1
  • 5
  • 16

1 Answers1

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!

Cbhihe
  • 2,801
  • 3
  • 27
  • 47
jfowlie
  • 21