esxinoob
Enthusiast
Enthusiast

Question about Memory Usage

Hi all

How could it be that Guest System (Windows) shows 100% memory usage,

on esxi view there is only 20% usage for the affected vm...

Thanks for your reply.

Tags (2)
0 Kudos
7 Replies
jrmunday
Commander
Commander

Please confirm which counter you are looking at in the VMware performance charts?

vExpert 2014 - 2018 | VCP6-DCV | http://www.jonmunday.net | @JonMunday77
0 Kudos
esxinoob
Enthusiast
Enthusiast

I'm looking at "Active Memory". Is that wrong?

0 Kudos
Cooldude09
Commander
Commander

check for the memory balloning component of that VM...

If U find my answer useful, feel free to give points by clicking Helpful or Correct. Subscribe yourself at walkonblock.com
0 Kudos
jrmunday
Commander
Commander

Yes, active memory is "Amount of memory that is actively used, as estimated by VMKernel based on recently touched memory pages" ... if you go to the advanced charts and select the counter it will show you the description.

I would look at consumed, in relation to granted (and ballooned as well). If you select the VM and then the resource allocation tab you will see a nice summary of this information.

Here is an example of a MSSQL server ... consuming most of the granted memory (as expected) - this matches upto what is seen in the guest ... but only 655.00 MB is Active, which matches upto the memory chart (Performance tab, overview).

MEMORY.png

Cheers,

Jon

Message was edited by: Jon Munday -- example added.

vExpert 2014 - 2018 | VCP6-DCV | http://www.jonmunday.net | @JonMunday77
esxinoob
Enthusiast
Enthusiast

So if granted memory is 10GB for example, and consumed is also almost 10GB - does the vm need more memory???

On almost every vm the amount of consumed memory is the same as granted memory....

ballooning 0.

0 Kudos
jrmunday
Commander
Commander

It sounds like they are sized appropriately as they are using what is allocated without paging or ballooning (especially since your active memory is low in relation to the granted memory).

What OS and applications are running on these VM's? If you're running SQL server, then this will (by design) use all available memory unless configured differently.

vExpert 2014 - 2018 | VCP6-DCV | http://www.jonmunday.net | @JonMunday77
esxinoob
Enthusiast
Enthusiast

We're running Windows Server 2008 R2 and 2012 R2, some with SQL instances...

so we dont have to worry if our MONITORING (System Center Configuration Manager) is saying some servers are out of memory (>90% memory usage), but on the esxi server no ballooning is active?!

So How can I identify a VM has not engough memory?

0 Kudos