Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

change the configuration in the file */etc/dphys-swapfile *: Default is CONF_SWAPSIZE=100

  1. Do "sudo nano /etc/dphys-swapfile"
  2. change default to CONF_SWAPSIZE=1024
  3. restart swap with sudo /etc/init.d/dphys-swapfile stop sudo /etc/init.d/dphys-swapfile start
  4. Do this to check if it worked free -m

Please read into the effect of doing swap on the sd card.. short for multiple writes to sd decreases the life but read more here https://www.bitpi.co/2015/02/11/how-to-change-raspberry-pis-swapfile-size-on-rasbian/

change the configuration in the file */etc/dphys-swapfile *: Default is CONF_SWAPSIZE=100

  1. Do "sudo nano /etc/dphys-swapfile"
  2. change default to CONF_SWAPSIZE=1024
  3. restart swap with sudo /etc/init.d/dphys-swapfile stop 4. sudo /etc/init.d/dphys-swapfile start
  4. Do this to check if it worked free -m

Please read into the effect of doing swap on the sd card.. short for multiple writes to sd decreases the life but read more here https://www.bitpi.co/2015/02/11/how-to-change-raspberry-pis-swapfile-size-on-rasbian/

change the configuration in the file */etc/dphys-swapfile *: Default is CONF_SWAPSIZE=100

  1. Do "sudo nano /etc/dphys-swapfile"
  2. change default to CONF_SWAPSIZE=1024
  3. restart swap with sudo /etc/init.d/dphys-swapfile stop 4. sudo /etc/init.d/dphys-swapfile start
  4. Do this to check if it worked free -m

Please read into the effect of doing swap on the sd card.. short for multiple writes to sd decreases the life but read more here https://www.bitpi.co/2015/02/11/how-to-change-raspberry-pis-swapfile-size-on-rasbian/