For additional methods of configuring swap, see Swap. The following example demonstrates how to create and enable a swap file: