[Redhat recommends][redhat-swap-link] swap should be at-least 1.5-2x size of available ram. Having low swap can result in degraded system performance when ram usage is high, to further increase the swap size we can take below steps
Below commands should be executed as root
- Create Swap file of 25GB
dd if=/dev/zero of=/swapfile1 bs=1024M count=25