Normally I'd take twice the amount of memory for swap but I also keep it at 8-16GB as a maximum. It depends a bit on what your expected load is going to be. But anything above 16GB is probably useless. If you need that kind of swap you're better off getting more memory. In your case using 8GB of swap is probably more than enough.
The worst case usage of swap in case of a crash dump is the amount of physical memory. Anything over that is debatable because if your system starts to swap and uses gigabytes of swap you're already at a point where your system is crawling to a halt and isn't very usable.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.