看一下/etc/dphys-swapfile
cat /etc/dphys-swapfile
默认的大小是100M
CONF_SWAPFILE=100
修改之
CONF_SWAPSIZE=500
或者更大
重启Raspberry Pi
comefrom:https://www.phodal.com/blog/raspberry-pi-add-the-swap-file-size/
看一下/etc/dphys-swapfile
cat /etc/dphys-swapfile
默认的大小是100M
CONF_SWAPFILE=100
修改之
CONF_SWAPSIZE=500
或者更大
重启Raspberry Pi
comefrom:https://www.phodal.com/blog/raspberry-pi-add-the-swap-file-size/