On my Windows 10x64 host, equipped with 32 GB RAM and virtual memory disabled, I have two VMs set up with 12 GB RAM alloted to each of them (first is Workstation 15 hardware, the second one is Workstation 16 hardware).
When I try to run both of them, I get the following error message when trying to start the second one:
There should be enough free RAM available:
What's causing this error?
I think the anonymous paging file is referring to the .vmem file that is created upon power on of the VM. Its default location is where the VM is located and its size is equal to the configurated RAM of the VM. So the 12GB VM power up will create a 12GB vmem file. So make sure that there is enough available free SSD/HDD space. There is a way to turn it off but that's a different discussion.
I don't think that's the case in my situation. I have 244 GB of free space on the drive that's hosting my virtual machines:
Does my config.ini perhaps chime a bell:
.encoding = "UTF-8"
mainMem.useNamedFile = "FALSE"
devices.hotplug = "FALSE"
authd.client.port = "903"
authd.proxy.nfc = "vmware-hostd:ha-nfc"
installerDefaults.autoSoftwareUpdateEnabled = "yes"
installerDefaults.autoSoftwareUpdateEnabled.epoch = "18954"
installerDefaults.componentDownloadEnabled = "yes"
installerDefaults.dataCollectionEnabled = "yes"
installerDefaults.dataCollectionEnabled.epoch = "18954"
prefvmx.minVmMemPct = "100"
priority.grabbed = "high"
I have about the same hardware specs, and running several VM is not an issue.
I've configured the memory setting as follows:
André
Why are you surprised ?
You cant have
physicalRAM = 32gb
pagefile = 0
memfile = 0
total VM RAM = 24gb
prefvmx.minVmMemPct = "100"
it may work with
physicalRAM = 32gb
pagefile = 0
memfile = 0
total VM RAM = 16gb
prefvmx.minVmMemPct = "100"
With
mainMem.useNamedFile = "true"
you should be able to run 2 VMs a 12gb
With
prefvmx.minVmMemPct = "50"
mainMem.useNamedFile = "true"
you should be able to run 3 VMs a 12gb
With
pagefile = 32gb
prefvmx.minVmMemPct = "10"
mainMem.useNamedFile = "true"
you should be able to run 5 VMs a 12gb or even more
Read
http://faq.sanbarrow.com/index.php?action=artikel&cat=78&id=116&artlang=en
http://faq.sanbarrow.com/index.php?action=artikel&cat=78&id=76&artlang=en
http://faq.sanbarrow.com/index.php?action=artikel&cat=78&id=78&artlang=en
Nice to see you again, Ulli 😊
Actually, this is my memory setting:
In Workstation 15 this wasn't an issue yet.
I'd expect the following to be true: 2 * 12 GB = 24 GB. 28 GB is larger than 24 GB. So, both VMs should launch flawlessly. Where's my mistake?
Hi
you forgot to also add the video RAM - and keep in mind that with pagefile = 0 the host needs to be extra careful when allocating RAM to applications.
Ulli
Ah, yes, Workstation 16 raised the default value from 1GB to 8GB. I lowered it to 1GB now, so both VMs use 1GB.
Still, it doesn't work. 2 * (12 + 1)GB ... are there still some hidden requirements?
BTW: The label for this option reads: "Maximum amount of guest memory that can be used for graphics memory:" So, I tend to believe the value entered here is taken from the guest memory amount, not added...?
> 28 GB is larger than 24 GB
That slider in the UI was created when the host operating system was NT , Win2000 or XP - compared to those light-weight systems Windows 10 is a big fat behemoth.
I bet that the calculation available RAM minus 10 % equals RAM-available for VMs is way to optimistic for Windows 10 hosts.
Maybe ... But have a look at my Task Manager screenshot above. After having started VM #1 I still have 14 GB of free memory.
That should be more than enough to launch VM #2, don't you think so?
Thanks a lot for your posting. Can I confirm with you whether you have your hyper-v or vbs enabled on your host? Could you please check the value of working set for vmx process in task manager on your host after you have the 12G memory VM started up? Thanks.
thank you for taking the time.
On my host I don't have Hyper-V enabled. I've got it enabled in the guest, though.
Here's a screenshot of Task Manager, depicting all the VMware parts:
Does this information help you?