I am using a VmPlayer 16.1.1 on a Windows 10 pro 20H2 to run a Debian 11.4 with a Umbrel node. It has assigned 6 cores and 8GB RAM and 3D acceleration disabled. Minutes after starting it, it starts consuming RAM until it doubles its memory consumption. I got some screenshots from the hosts' system administration memory tracker:
vmware-vmx.exe working RAM assigned 8469928 all the time +- 1%.
Before running: in use = 32183MB, cache=24598MB , Free=8679MB, available=33273MB
Started: in use=40027MB, cache=25431MB, Free=2MB, available=25071MB
2 minutes after starting: in use=41965, cache=23493MB, free=2MB, available=23206MB
10 minutes after starting: in use= 45396MB, cache=19883MB, free=181MB, available=19822MB
15 minutes after starting: in use=46979MB, cache=18475MB,free=6MB, available=18098MB
40 minutes after starting: in use=51043MB, cache=14212MB,free=93MB, available=17070MB
Just after shutting it down: in use=43097MB, cache=14052MB,free=8331MB
1 minute after shutdown:in use=32140MB,cache=24973MB,free=8611MB, available= 33162MB
Therefore, y'all can see that Available Memory falls not by 8GB but 16GB when running this VM Player, which is not acceptable.
Please, what is causing it? Is there a known vmx memory leak? Is there a configuration option to limit this memory hogging?
These lines added to the vmx file seem to have solved or at least contained the problem for the time being. Will keep an eye on it.
sched.mem.maxmemctl = "0"
hard-disk.hostBuffer = "disabled"
prefvmx.minVmMemPct = 100