Addiding Swap space:
Give below commands as root user
# dd if=/dev/zero of=swapfile bs=1k count=500000
# chmod 600 swapfile
# mkswap swapfile
# swapon swapfile
Removing added Swapspace:
Give below commands as root user
# swapoff tmpswap
# rm tmpswap
0 people found this article useful
0 people found this article useful