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 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 @@ + + + + + + +Raspberry PI increase swap size + + + + + + + +
+
+
+
+
    +
  1. +

    Stop the swap

    +
  2. +
+
+
+
+
dphys-swapfile swapoff
+
+
+
+
    +
  1. +

    Modify the size of the swap

    +
  2. +
+
+
+

As root, edit the file /etc/dphys-swapfile and modify +the variable dphys-swapfile:

+
+
+
+
CONF_SWAPSIZE=1024
+
+
+
+
    +
  1. +

    Start the swap

    +
  2. +
+
+
+
+
dphys-swapfile swapon
+
+
+
+
+
+ + + \ No newline at end of file