This is a small howto about changing the swap file size on a Raspberry Pi which runs with a raspbian operating system.
The swap file size is configured in the /etc/dphys-swapfile file. By default its size is 100 MB. To change that set the CONF_SWAPSIZE value to something else. Here I chanted it to 500 MB:
CONF_SWAPSIZE=500Now the dphys-swapfile.service service needs to be reloaded:

