Yesterday I was copying a single, 8 GB file to a USB with a slow, 7 MB/s write speed, while my RAM is 3 GB. While copying the system froze, to the point where I couldn't even move the cursor.
I managed to log into the text console, and ran iotop, it showed that a process named kswapd0 was taking 99.99% of IO.
Are there workarounds so copying a large file doesn't make my system unusable?