how to increase swap space in raspberry pi code example Example: how to create the swap space in the raspberry pi sudo nano /etc/dphys-swapfile