Skip to content

Commit ab2537a

Browse files
authored
Update RunOnRaspberryPi.md
1 parent 546d263 commit ab2537a

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

docs/RunOnRaspberryPi.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,23 @@ https://docs.docker.com/install/linux/linux-postinstall/
1919
sudo apt install docker-compose
2020
```
2121

22+
## Enable swap to get rid of freezed
23+
24+
[Reference](https://raspberrypi.stackexchange.com/questions/70/how-to-set-up-swap-space)
25+
26+
```
27+
apt-get install dphys-swapfile
28+
vi /etc/dphys-swapfile
29+
```
30+
Set swap to 2048M
31+
```
32+
CONF_SWAPSIZE=2048
33+
```
34+
35+
Restart service
36+
```
37+
/etc/init.d/dphys-swapfile restart
38+
```
2239
## Get Deep Camera Source Code
2340

2441
```

0 commit comments

Comments
 (0)