Credit to @ryanc@infosec.exchange

I just did the graphic

you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 2 months ago

I have a small home server that I occasionally push through huge batch processing jobs. During the pushes, I might collide with other projects that use a pretty big chunk of the RAM. So, to make sure it's never a killer (just a major slow down), I made a 32GB swap file. If I need it, it's there and disk is hella cheap.

This machine has never had a GUI installed. No browsers to complain about, just plain old data processing, stats models, and old skool computing.

Now, my worst case scenario was building a C++ program on a raspberry pi gen 1. That has 256MB of RAM. g++ ran out building, so I NFS mounted a huge disk from my desktop machine and made the swap file there. The build took a while... but the program ran fine after the week long build, no swap needed.

  • source