vm memory

Have a question regarding memory.
Say for an example i create a vm with 4GB memory, does this mean that the VM will get 4GB from its hosting ESx if not how do i find ow much memory it gets?
LVL 2
sara2000Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, if you create a VM, with 4GB, the Host will give the VM 4GB from it's total amount of memory in the host server.
0
sara2000Author Commented:
What will happen if host do not have spare memory to spare?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
What like, if the Host had 2GB, and you allocated 4GB to the VM ?
0
jmcgOwnerCommented:
To supplement Andrew's answer: yes, the RAM allocation you give to the VM comes out of the RAM on the host. It's possible to overcommit memory, though, and the hypervisor might use methods like "ballooning" to take back some of the memory from the guest machine to make it available for other needs. Otherwise, you end up with virtual memory, paged in and out from slower storage, which can make the VM performance quite awful.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.