bmsi wrote:Btw, the /var/swap seems real enough. I have seen it on several rpi3s now. Isn't a 104MB swap file
a little skimpy on a 2GB system ?
Ideally you wouldn't want any swap space at all. If it is configured, it is only as an emergency buffer.
Swapping is slow. On the order of many thousands of times slower than normal RAM. You really don't want to be in a situation where that is happening.
1GB of memory should be enough for any app you run on a Pi. If you appear to need more you are either using the wrong platform, have too many things running (in which case get more Pis and share the load
), or have badly written code.