README.md: increase swap size on Raspberry Pi

Increased swap size on raspberry pi compiling guide, since it might crash if the raspberry has any service runing in the background
This commit is contained in:
Neofito89 2018-10-29 23:14:25 +01:00 committed by GitHub
parent 4cbb476cd1
commit aa40047e48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -236,7 +236,7 @@ Tested on a Raspberry Pi Zero with a clean install of minimal Raspbian Stretch (
```
sudo /etc/init.d/dphys-swapfile stop
sudo nano /etc/dphys-swapfile
CONF_SWAPSIZE=1024
CONF_SWAPSIZE=2048
sudo /etc/init.d/dphys-swapfile start
```
* If using an external hard disk without an external power supply, ensure it gets enough power to avoid hardware issues when syncing, by adding the line "max_usb_current=1" to /boot/config.txt
@ -270,7 +270,7 @@ If you are using the older Raspbian Jessie image, compiling Monero is a bit more
```
sudo /etc/init.d/dphys-swapfile stop
sudo nano /etc/dphys-swapfile
CONF_SWAPSIZE=1024
CONF_SWAPSIZE=2048
sudo /etc/init.d/dphys-swapfile start
```