I have the experience that Linux works fine until the physical memory is exhausted. As soon as swap space is used the performance is severely degraded and the GUI becomes unresponsive.
This problem is not limited to a specific distro or desktop, because I've tried a few (and the issue remains).
What can I do about this?