4

I have a guest VM setup in my Hyper-V environment that I'm trying to us dynamic memory with. The following settings are being used...

  • Startup RAM: 8192
  • Minimum RAM: 2048
  • Maximum RAM: 8192
  • Memory buffer: 20%
  • Memory weight: Medium on the slider

enter image description here

I think I might have something configured wrong because as soon as I boot up the VM and go into task manager on the guest VM to look at the performance tab I see that the server has the following usage... enter image description here

The funny part is that NOTHING is using that memory (below sorted with highest mem at top)... enter image description here

Why does it show such a high memory usage?


UPDATE

Per an answer provided I wanted to show the resource manager too. It shows the exact same thing. enter image description here

Arvo Bowen
  • 795
  • 5
  • 15
  • 33

3 Answers3

2

You enabled Dynamic Memory. So, while there's nothing requiring that memory in your VM, the hypervisor asked for the memory back, and received it. To make sure that this memory that the guest OS has released back to the hypervisor isn't accidentally used (which would cause the guest OS to fault,) the Dynamic Memory integration component (a device driver) in the guest has allocated it. This is why the report shows the memory as allocated.

Jake Oshins
  • 5,116
  • 17
  • 15
  • This is likely the case. You can confirm this by running RAMMap in the guest and looking at Driver Locked. If driver locked is high, then it is due to ballooning. – nijave Dec 10 '16 at 03:48
1

Hyper V is bare metal - meaning that it won't show up in task manager. Try using the resource manager instead - you'll get more details.

See Why does the Task Manager does not show any activity from Hyper-V?

Tim Brigham
  • 15,465
  • 7
  • 72
  • 113
  • I'm not sure what you mean but I added a screenshot from the resource manager as well and it show the exact same thing. Keep in mind the only image show in the question that is related to the `HOST` is the first image. All others are screenshots from the `GUEST` VM. – Arvo Bowen Aug 03 '16 at 15:03
0

This is not a Hyper-V issue, but a SQL Server one. It's fairly common for SQL Server to suck up all the available memory in the system (if its maximum memory usage is not limited), but for this to not be reported by Task Manager, as discussed here.

Massimo
  • 68,714
  • 56
  • 196
  • 319