increase swap to 512
This commit is contained in:
parent
40fae75833
commit
eea67d4edc
2
.github/workflows/update-os.yml
vendored
2
.github/workflows/update-os.yml
vendored
@ -65,7 +65,7 @@ jobs:
|
||||
|
||||
# increase swap-size
|
||||
sudo dphys-swapfile swapoff
|
||||
sudo sed -i -E '/^CONF_SWAPSIZE=/s/=.*/=256/' /etc/dphys-swapfile
|
||||
sudo sed -i -E '/^CONF_SWAPSIZE=/s/=.*/=512/' /etc/dphys-swapfile
|
||||
sudo dphys-swapfile setup
|
||||
sudo dphys-swapfile swapon
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user