-
+
-
+
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+
X-Git-Url: http://git.wpitchoune.net/gitweb/?p=www.git;a=blobdiff_plain;f=www%2Ftricks%2Fraspberry_pi3_increase_swap_size.html;fp=www%2Ftricks%2Fraspberry_pi3_increase_swap_size.html;h=e1408451e479ac88eefabd63705c8a2d5cf667a1;hp=0000000000000000000000000000000000000000;hb=f253ec84873310ce48caa1bc0f5ce7f52fbe05ea;hpb=c26257e5e85cc05041713179c4cefd150ad85478;ds=sidebyside diff --git a/www/tricks/raspberry_pi3_increase_swap_size.html b/www/tricks/raspberry_pi3_increase_swap_size.html new file mode 100644 index 0000000..e140845 --- /dev/null +++ b/www/tricks/raspberry_pi3_increase_swap_size.html @@ -0,0 +1,69 @@ + + +
+ + + +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+