= Raspberry PI - increase swap size :docinfo2: :icons: font == Stop the swap ---- dphys-swapfile swapoff ---- == Modify the size of the swap As `root`, edit the file `/etc/dphys-swapfile` and modify the variable `dphys-swapfile`: ---- CONF_SWAPSIZE=1024 ---- == Start the swap ---- dphys-swapfile swapon ----