0

I have a Rasperri Pi 5 and I need to increase swap memory to 4GB.

I made sure that zram generator is installed by running:

sudo apt install systemd-zram-generator  

and I have ONLY one config file in this location: /etc/systemd/zram-generator.conf

the content is like this

[zram0]
zram-size = 4096
swap-priority = 100

No matter what I do, after each reboot, the swapon --show command displays this

NAME       TYPE      SIZE USED PRIO
/dev/zram0 partition   2G   0B  100

How can I change this permanently to have 4GB of swap memory?

1
  • Stack Overflow is for programming questions, not questions about using or configuring Unix and its utilities. Unix & Linux or Raspberry Pi would be better places for questions like this. Commented Nov 18 at 19:26

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.