X-Git-Url: http://git.wpitchoune.net/gitweb/?p=www.git;a=blobdiff_plain;f=www%2Ftricks%2Fraspberry_pi3_increase_swap_size.html;h=db7a25ce2a8e12d29f9c894249a18ecc565fdf13;hp=1f574464c9bcfbd99ebe98fbf16c0564ee950edf;hb=3c638b2889f6e5edb61204f457117dd080c2ee4c;hpb=d7e1a71bbeaf3f2c11afc93ec71fff6afc1f380a diff --git a/www/tricks/raspberry_pi3_increase_swap_size.html b/www/tricks/raspberry_pi3_increase_swap_size.html index 1f57446..db7a25c 100644 --- a/www/tricks/raspberry_pi3_increase_swap_size.html +++ b/www/tricks/raspberry_pi3_increase_swap_size.html @@ -4,10 +4,10 @@ - + Raspberry PI - increase swap size - + @@ -21,7 +21,7 @@
-
dphys-swapfile swapoff
+
sudo dphys-swapfile swapoff
@@ -31,13 +31,17 @@

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

+the variable 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.

+
@@ -45,7 +49,7 @@ the variable dphys-swapfile:

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

+Last updated 2018-09-28 20:13:23 CEST + + + \ No newline at end of file