aa542aace5ca3df9491778673f7519a72f525db3
[www.git] / src / tricks / raspberry_pi3_increase_swap_size.adoc
1 = Raspberry PI - increase swap size
2 :docinfo2:
3 :icons: font
4
5 == Stop the swap
6
7 ----
8 dphys-swapfile swapoff
9 ----
10
11 == Modify the size of the swap
12
13 As `root`, edit the file `/etc/dphys-swapfile` and modify
14 the variable `dphys-swapfile`:
15
16 ----
17 CONF_SWAPSIZE=1024
18 ----
19
20 == Start the swap
21
22 ----
23 dphys-swapfile swapon
24 ----