This question already has an answer here:
I have noticed my system is not using any swap.
- system got unresponsive when RAM got full
swapon --showreturns nil
/etc/fstabhas nothing about swap in it
I am utterly confused by the myriad of different ways to enable swap which I read about. Do I really need to define a swap file, rather than only point the system at a swap partition?
I have a partition of the right size formatted as
linux-swap. What is the series of steps to be taken for (perpetually) enabling it in my OS?