Comment 1 for bug 1560942

Dan Kegel (obdank) wrote :

The obvious manual workaround for the moment:
do something like this once:
  sudo fallocate -l 4G /var/tmp/swapfile
then do something this after each boot:
  sudo swapon /var/tmp/swapfile
'free' then shows the desired amount of swap.