So here’s a quick snippet to turn on swap on a file, even after OS installation, temporarily. At line one notice the file size is 4G . Modify it to your needs.
Series: Messing with the Swap
Create a permanent swap file equal to RAM bytes
Create a permanent swap file equal to RAM bytes. Yeah I know this is the lazy admin talking, but the inside wants out …