Linux VM running nginx (or any other light-weight daemon with stable resource usage). VM is allocated 2GB of memory with 200-300MB used by OS and services with the rest for file cache and buffers. In one specific use-case I expect an easy 500MB overhead.
Q: Why would this setup need swap space?
The standard answer of "To prevent memory exhaustion" doesn't make sense to me here for 2 reasons: 1: the demand for memory is well established and does not need to support an unexpected or sudden significant increase. 2: Swap only delays OOM situation in any case. The same thing can be accomplished by assigning more memory to the VM in the first place, especially since it's thin provisioned any nobody will miss out on it as long as it's unused.
The other common answer to support hibernation doesn't apply to a server in a VM.
I see no reason for swap on such a server; am I missing something?