A swap file enables an operating system (OS) to utilize hard disk space to simulate additional memory. This tutorial shows how to set up a swap file on Ubuntu Linux. The steps have been tested in recent Ubuntu versions, incl. Ubuntu 22.04.
Source: LXer – How to Add a Swap File On Ubuntu
