Feature #420
Changing the Swap Size on Raspbian
Description
I encountered the need to increase the stock size of the swap on Raspbian. The default is 100MB, however I want to change it to 512MB. This can be done by doing the following:
- Change the size in
/etc/dphys-swapfile
:vi /etc/dphys-swapfile
- And change CONF_SWAPFILE to how many megabytes should be used for swap space:
CONF_SWAPFILE=512
- And change CONF_SWAPFILE to how many megabytes should be used for swap space:
man dphys-swapfile
for details.