What is swap space/memory? When the amount of physical memory (RAM) is full, swap space in Linux is used. Non-active pages in memory are moved to the swap memory if the system requires more memory resources and also the RAM is complete. While swap memory can help devices with a percentage of RAM, it should not be thought about a substitute for more RAM. Swap memory is located on hard disk drives, which have a slower accessibility time than physical memory. What is the formula to determine the required swap memory? The swap space ought to amount to 2x physical RAM for approximately 2 GB of physical RAM, and after that an extra 1x physical RAM for any kind of amount over 2 GB, yet never ever less than 32 MB. For systems with actually big amounts of RAM (more than 32 GB), you can likely get away with a smaller swap partition (around 1/2 half the physical RAM). So, if: Using this formula: A system with 2 GB of physical RAM would certainly have 4 GB of swap memory. A system with 3 GB of physical RAM would certainly have 3 GB of swap memory. A system with 64 GB of physical RAM would certainly have 32 GB of swap memory. If you intend to upgrade your RAM at a later time, creating a huge swap space partition can be particularly practical. Identifying current swap space Before you start, check if your AlmaLinux installation already has swap enabled by typing: cat…