React App build killed fix
Nextjs App build killed fix
Swap is a portion of hard drive storage that has been set aside for the operating system to temporarily store data that it can no longer hold in RAM. This lets you increase the amount of information that your server can keep in its working memory, with some caveats. The swap space on the hard drive will be used mainly when there is no longer sufficient space in RAM to hold in-use application data.
link
https://www.digitalocean.com/communit...
https://learnubuntu.com/remove-swap-f...
commands all
Step 1 – Checking the System for Swap Information
sudo swapon --show
free -h
Step 2 – Checking Available Space on the Hard Drive Partition
df -h
Step 3 – Creating a Swap File
sudo fallocate -l 1G /swapfile
ls -lh /swapfile
Step 4 – Enabling the Swap File
sudo chmod 600 /swapfile
ls -lh /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo swapon --show
free -h
Step 5 – Making the Swap File Permanent
sudo cp /etc/fstab /etc/fstab.bak
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
Step 6 – Tuning your Swap Settings
sudo sysctl vm.swappiness=10
sudo nano /etc/sysctl.conf
vm.swappiness=10
sudo sysctl vm.vfs_cache_pressure=50
vm.vfs_cache_pressure = 50
sudo nano /etc/sysctl.conf
vm.vfs_cache_pressure=50
like and subscribe
Watch video npm run build killed error fixed | React App Killed Digital Ocean online without registration, duration hours minute second in high quality. This video was added by user Next Mastery 18 January 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,304 once and liked it 9 people.