mmap() failed: [12] Cannot allocate memory composer 1

mmap() failed: [12] Cannot allocate memory composer

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

Here is what the above code is Doing:
1. Create a 1GB file in /var/swap.1
2. Format the file as swap
3. Activate the swap

Similar Posts