dphys-swapfile swapoff+
sudo dphys-swapfile swapoff
X-Git-Url: http://git.wpitchoune.net/gitweb/?p=www.git;a=blobdiff_plain;f=www%2Ftricks%2Fraspberry_pi3_increase_swap_size.html;h=b3aaa3f2ef327603cfebfaf0bb3e6d15555ede76;hp=3a8e8f8815a38a03f1bdff40ad4585c6e9698b8d;hb=HEAD;hpb=08499c48587fd911dea96c8c42ea8db276c32eae diff --git a/www/tricks/raspberry_pi3_increase_swap_size.html b/www/tricks/raspberry_pi3_increase_swap_size.html index 3a8e8f8..b3aaa3f 100644 --- a/www/tricks/raspberry_pi3_increase_swap_size.html +++ b/www/tricks/raspberry_pi3_increase_swap_size.html @@ -2,12 +2,12 @@
- + - +dphys-swapfile swapoff+
sudo dphys-swapfile swapoff
As root
, edit the file /etc/dphys-swapfile
and modify
-the variable dphys-swapfile
:
CONF_SWAPSIZE
:
CONF_SWAPSIZE=1024
To modify the swap file, edit the variable CONF_SWAPFILE
, and run
+dphys-swapfile setup
which will create and initialize the file.
dphys-swapfile
:
dphys-swapfile swapon+
sudo dphys-swapfile swapon
dphys-swapfile
: