I tried zram with the following command, but failed
Code:
# zramctl -f -s 1G
zramctl: /dev/zram0: failed to set disksize (1073741824 bytes): Cannot allocate memory
The zram module has been loaded
Code:
# lsmod|grep -i zram
zram 28672 0
/proc/meminfo :
Code:
# cat /proc/meminfo
MemTotal: 1931184 kB
MemFree: 84180 kB
MemAvailable: 356980 kB
Buffers: 34832 kB
Cached: 565064 kB
SwapCached: 4592 kB
Active: 325488 kB
Inactive: 1249144 kB
Active(anon): 109852 kB
Inactive(anon): 1086512 kB
Active(file): 215636 kB
Inactive(file): 162632 kB
Unevictable: 50804 kB
Mlocked: 96 kB
Slackware 15.0, kernel 5.15.27.
Whats wrong, and how to deal with it? Huge thanks for your advice