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
Смотрите видео npm run build killed error fixed | React App Killed Digital Ocean онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Next Mastery 18 Январь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,304 раз и оно понравилось 9 людям.