The amount of swap recommended for Fedora depends on a number of factors including the amount of memory in the system and the workload imposed on that memory. The current guidelines for Fedora swap space are as follows:
4GB of RAM requires a minimum of 2GB of swap space
4GB to 16GB RAM requires a minimum of 4GB of swap space
16GB to 64GB of RAM requires a minimum of 8GB of swap space
64GB to 256GB of RAM requires a minimum of 16GB of swap space