Skip to content

Instantly share code, notes, and snippets.

@ngsw
Created February 3, 2013 17:17
Show Gist options
  • Select an option

  • Save ngsw/4702660 to your computer and use it in GitHub Desktop.

Select an option

Save ngsw/4702660 to your computer and use it in GitHub Desktop.
Raspberry Pi swap領域増量
# swap 増やす(100MB -> 1024MB)
sudo sed -i_origin 's/CONF_SWAPSIZE=100/CONF_SWAPSIZE=1024/' /etc/dphys-swapfile
sudo service dphys-swapfile stop && sudo service dphys-swapfile start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment