I have 8GB RAM and 20GB swap. If I run
stress -m 1 --vm-bytes 8G --vm-keep
the system cannot be used for a few minutes. the mouse pointer does not use any more. and even after a few minutes, it is very unresponsive. Gnome system monitor shows 10GB Swap used. Why the system becomes so slow?
Edit: I just found this question Prevent Ubuntu from freezing, even if system memory is low
stress
command? – Jos Dec 20 '19 at 09:49