clearing up swap space
WARNING: make sure the memory is enough to put the data back from swap, else system will start killing processes
To clear up swap space (put the data back into memory) we can do
1
# swapoff -a && swapon -a
Copied!
Because this is quite slow process, it's a good idea to run this inside screen session.
Last modified 1mo ago
Copy link