May 5, 2020 / Nirav S
What is Swap Memory ?
Before You Begin
$ sudo swapon --show
$ sudo fallocate -l 1G /swapfile
$ sudo dd if=/dev/zero of=/swapfile bs=1024 count=1048576
$ sudo chmod 600 /swapfile
$ sudo mkswap /swapfile
$ sudo swapon /swapfile
$ sudo nano /etc/fstab
/swapfile swap swap defaults 0 0
$ sudo swapon --show
Have queries about your AWS project ideas and concepts? Please drop in your project details to discuss with our AWS experts, professionals and consultants.