Increase swap on Raspberry Pi

Edit /etc/dphys-swapfile with your favorite text editor and set CONF_SWAPSIZE parameters like above:

CONF_SWAPSIZE=2048

Apply the configuration with:

service dphys-swapfile restart
Previous
Next