Originally Posted by
nkedel
Yup, at least with Windows. There are some interesting compressed-RAM drivers on Linux which let you use a chunk of compressed RAM as part of the swap, and are sometimes used on Android builds.
Really no reason to have a swap file these days, other than that Windows doesn't behave well without one; I usually shrink it to 1gb.
You are missing a point here. Swap file is a swap file (albeit called differently) in Windows, Linux, Esxi, etc. Say you have 16G ram. Once it's filled up and the machine needs to put 1g in RAM, it will take 1g from the RAM and put it on the hdd (the swap file). Then it will take the new data and put in the empty space in the memory.
It makes no sense to put something reduce the memory to put there something that is supposed to be used only when the memory is full