Solved

How do you add more memory to a Hyper-V VM

Posted on 2014-09-14
9
380 Views
Last Modified: 2014-11-12
If the host Hyper-V only has 48 gig and the VM's are using 44 gig, can more memory be added to a VM.  In other words can you only use physical memory or is there virtual memory?  If more can be added how?
0
Comment
Question by:jrsitman
  • 4
  • 2
  • 2
  • +1
9 Comments
 
LVL 70

Expert Comment

by:KCTS
ID: 40321946
I assume you are talking about virtual disk space - not memory!

See http://www.altaro.com/hyper-v/how-to-resize-online-virtual-machine-hard-disks-in-hyper-v-2012-r2/
0
 
LVL 38

Accepted Solution

by:
Philip Elder earned 400 total points
ID: 40321947
You should leave about 1.5GB of available RAM to the host.
For the VM that requires more vRAM shut it down, open its properties, and up the amount of memory assigned to it.

You cannot add more vRAM to a VM than available RAM - ~1.5GB.

Memory is cheap, upgrade the RAM in the physical box.
0
 

Author Comment

by:jrsitman
ID: 40321954
Can memory be allocated to VM's in 2 gig increments.  i.e. can they use 6?  Or can they be allocated in 1 gig, i.e. 3?
0
 
LVL 38

Assisted Solution

by:Philip Elder
Philip Elder earned 400 total points
ID: 40321964
Increment for assigning VM vRAM is 2MB in even numbers.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 118

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 100 total points
ID: 40321968
If you add more memory to your VMs, than you have available in the host (which is possible), the host will start to swap to disk, and performance will be very poor.

Take a good look at the current VMs, and see if they require the memory allocated, or add more physical memory to the host.

Host memory is often the bottleneck.
0
 

Author Comment

by:jrsitman
ID: 40321974
how can I determine what memory the VM's require.
0
 
LVL 118
ID: 40321980
Check the performance and statistics, check how much they are using.

e.g. if you have assigned 16GB, check the performance, and stats, and see if 16GB is being used.
0
 

Author Comment

by:jrsitman
ID: 40321985
Sorry, I had a brain fart when I asked that question.  I knew the answer, but my light was off.  :-)
0
 

Author Closing Comment

by:jrsitman
ID: 40321987
thanks to all.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now