I'm running a Linux Mint 19 in VMWare virtual machine on Windows 10 as a host OS. The VMWare Player version is 16.2.3.
The issue is that it consumes a lot more RAM than it is supposed to. On top of RAM consumed by the guest OS itself it also consumes a lot of RAM for mapping the vmdk file into memory.
Here you can see that on top of 10G which are configured for VM it also consumed 9G more for memory mapped file.
Yes, it is in standby and in theory can and should be freed whenever needed, but on practice whenever I'm trying to start something that needs a lot of RAM - it kills the entire host system failing to free that standby memory.
UPDATE: Another example.
Here is the state after 5 minutes of running this VM and copying files inside guest back and forth. The more time the guest VM is online and the more disk IO happens inside it the more host's RAM goes to standby mode, up to 100% of available RAM is being moved to standby.
- Is it a problem of VMWare or host OS?
- Is there any way to solve this and stop it from using that much RAM for memory mapped file of a guest's vmdk file? I would assume that I can create a disk partition and use it instead of keeping guest's filesystem in file, but is there any other option?