When you install the Oracle database for a Linux OS, the swap partition size will be checked. If the swap partition cannot meet requirements, you can perform the operations in this section to increase the swap partition size.
The swap partition is similar to the virtual memory of the Windows OS. When the memory is insufficient, some hard disk space is virtualized into memory to improve the system running efficiency.
The size of the swap partition is 3 GB.
dd if=/dev/zero of=/swapfile bs=1M count=5000
chmod 600 /swapfile
mkswap /swapfile swapon /swapfile echo "/swapfile swap swap defaults 0 0" >>/etc/fstab
The size of the swap partition is 8 GB.