In short I'm trying to determine what the total memory requirement is of all running VMs. In other words, how much memory must my esx server have before it becomes overcomitted and must starting freeing up memory.
My current algorithm is to make a performance query and sum the counter "Memory Consumed (Maximum)" for all VMs. But I'm confused about the host counter "Memory Overhead (Average)". Should I retrieve that and add it in? Or is it the average overhead per VM?
And mostly, is this overall algorithm correct or am I missing something? TIA.
Tom