Tutorial | Raspberry Pi | How to increase size of existing swap file

Change the size in /etc/dphys-swapfile:

sudo nano /etc/dphys-swapfile

And change the current value, then exit and save

CONF_SWAPFILE=100

to update the settings changes, run:

sudo dphys-swapfile setup

Leave a Reply