X-Git-Url: http://git.wpitchoune.net/gitweb/?p=www.git;a=blobdiff_plain;f=www%2Ftricks%2Fraspberry_pi3_increase_swap_size.html;h=3a8e8f8815a38a03f1bdff40ad4585c6e9698b8d;hp=e1408451e479ac88eefabd63705c8a2d5cf667a1;hb=08499c48587fd911dea96c8c42ea8db276c32eae;hpb=f253ec84873310ce48caa1bc0f5ce7f52fbe05ea diff --git a/www/tricks/raspberry_pi3_increase_swap_size.html b/www/tricks/raspberry_pi3_increase_swap_size.html index e140845..3a8e8f8 100644 --- a/www/tricks/raspberry_pi3_increase_swap_size.html +++ b/www/tricks/raspberry_pi3_increase_swap_size.html @@ -1,41 +1,34 @@ - - + + -Raspberry PI increase swap size + +Raspberry PI - increase swap size - +
-
+
+

Stop the swap

-
-
    -
  1. -

    Stop the swap

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

    Modify the size of the swap

    -
  2. -
+
+
+

Modify the size of the swap

+

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

@@ -45,13 +38,11 @@ the variable dphys-swapfile:

CONF_SWAPSIZE=1024
-
-
    -
  1. -

    Start the swap

    -
  2. -
+
+
+

Start the swap

+
dphys-swapfile swapon
@@ -62,8 +53,23 @@ the variable dphys-swapfile:

+Last updated 2016-12-22 00:24:00 UTC +
+
+ \ No newline at end of file