This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| swapfile [2024/04/30 21:10] – wigums | swapfile [2024/07/23 16:19] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| i dont bother with swap as ive ALMOST never needed it. if you find yourself in a situation where you do need swap just spin up a swapfile. | i dont bother with swap as ive ALMOST never needed it. if you find yourself in a situation where you do need swap just spin up a swapfile. | ||
| - | create a file with the size of swap space you want. Let’s say that I want to add 1 GB of swap space to my system. Use the fallocate command to create a file of size 32 GB. | + | create a file with the size of swap space you want. Let’s say that I want to add 32 GB of swap space to my system. Use the fallocate command to create a file of size 32 GB. | 
| Line 23: | Line 23: | ||
| < | < | ||
| + | |||
| + | when youre done just do | ||
| + | |||
| + | < | ||
| + | |||
| + | if you want to reclaim your disk space just rm it | ||
| + | |||
| + | < | ||