linux swap memory limits – reference guide

Table 1: Recommended system swap space in Fedora 28 documentation

Amount of system RAMRecommended swap spaceRecommended swap with hibernation
less than 2 GB2 times the amount of RAM3 times the amount of RAM
2 GB – 8 GBEqual to the amount of RAM2 times the amount of RAM
8 GB – 64 GB0.5 times the amount of RAM1.5 times the amount of RAM
more than 64 GBworkload dependenthibernation not recommended

Table 2: Recommended system swap space per the author

Amount of RAMRecommended swap space
2GB – 8GB= RAM

Leave a Reply

Your email address will not be published. Required fields are marked *