upped swap to 8G
This commit is contained in:
parent
024e0513ba
commit
6352b9253f
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ echo "File descriptor limit: $(ulimit -n)"
|
|||
# --- Swap ---
|
||||
echo "--- Creating swap file ---"
|
||||
if [ ! -f /swapfile ]; then
|
||||
sudo dd if=/dev/zero of=/swapfile bs=1M count=4096
|
||||
sudo dd if=/dev/zero of=/swapfile bs=1M count=8192
|
||||
sudo chmod 600 /swapfile
|
||||
sudo mkswap /swapfile
|
||||
sudo swapon /swapfile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue