@NaibofTabr @HappyFrog I think this is just incorrect. You don't need swap space to be the sum of the active swap file and the size of RAM, it only needs to be at least the size of RAM. The numbers in the article suggest bigger sizes for smaller RAM so there is less chance of a heavily-loaded running system crashing. You do want a bit more space when hibernating just to make the hibernation process a bit smoother.
Happy to be corrected by someone with provenance.