Como limpar a memória Swap no Linux

Verificando a memória:

free -h

Limpando a memória:

sudo swapoff -av; sudo swapon -av