Shell/Bash: the following exception is caused by a lack of memory and not having swap configured Example

By

Shell/Bash Example: This is the "the following exception is caused by a lack of memory and not having swap configured" Example. compiled from many sources on the internet by SimpleTutorials.org

The following exception is caused by a lack of memory and not having swap configured

/bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
/sbin/mkswap /var/swap.1
/sbin/swapon /var/swap.1



* Summary: This "the following exception is caused by a lack of memory and not having swap configured" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others