swap file on

Swap file on! Only when you need it…

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.

If you uncomment the last line, is about to make it permanent.

OR if your’re a lazy like me use this script

Series NavigationCreate a permanent swap file equal to RAM bytes >>

Comment:

This site uses Akismet to reduce spam. Learn how your comment data is processed.