Ubuntu 19.10 freezes regularly (Dell XPS 13 9343)

From the comments...

To slightly re-tune your system, we'll make adjustments to your swap, and see if that helps.

  • reduce swap from 16G to 4G

  • set vm.swappiness to 80 (60 is the default)

sudo sysctl -w vm.swappiness=80 # make more use of swap

sudo sysctl -p # use the values from the current sysctl.conf