Raspbian Buster: Increase Swap


Problem

  • 100mb of swap, 875mb of phys-mem. Really?
  • Solution

    $ sudo dphys-swapfile swapoff
    $ sudo vim /etc/dphys-swapfile # Edit swap config
    $ sudo dphys-swapfile setup
    $ sudo dphys-swapfile swapon # Finaly