VMware Cloud Community
SWCS833
Enthusiast
Enthusiast

Help - New VC Install - Using to much Memory

Hey there.

I just got my ESX Servers up and running yesterday and finally was able to install VC as a VM. In the infrastructure client, I am seeing the VC server using a Host Memory Usage of 3.21 GB and a Guest Memory USage of 1.84 GB. Does this sound right? It seems like it is using to much memory.

The VM is a 1vCPU server, with about 4 GB of RAM. It is connecting to a SQL server that is also a VM, that has SQL Server 2005 Enterprise Edition installed.

VMWare Tools is installed. Not srue what is going on. This is all brand new, fresh installation of VMs.

0 Kudos
10 Replies
RParker
Immortal
Immortal

Depends on the number of ESX servers, and VM's you have. The memory will go up, but it would have to be around 200 hosts and 2000 VM's to be that high... do you have that many VM's?

0 Kudos
SWCS833
Enthusiast
Enthusiast

We have 2 VM and 1 ESX server so far

0 Kudos
jgalexan
Enthusiast
Enthusiast

4 gig of memory for a VC VM is a lot. It does seem a little high, but I would watch it for a while to see if it calms down. I currently have 20 host servers and 80 VMs. My VC machine is Virtual with 2vCPU and 2gig Ram. The memory usage on my VC machine does go up and down depending on what is happening. If you plan on doing a lot of P2V work 2 gig would still be enough.

0 Kudos
SWCS833
Enthusiast
Enthusiast

It is not doing anything to my knowledge. Maybe it is downloading stuff? I just intalled it a few minutes ago.

0 Kudos
jgalexan
Enthusiast
Enthusiast

You have to give it time. If it look high through the GUI or Web Interface, log into the server via RDP and check running processes or current CPU and Mem load.

0 Kudos
SWCS833
Enthusiast
Enthusiast

Ok. When I login it is using like 600 MB. I will let it wait.

0 Kudos
SWCS833
Enthusiast
Enthusiast

Another question,

I installed Update Manager but I deleted the scheduled task it installed, ooops. How do I get this back?

0 Kudos
Jae_Ellers
Virtuoso
Virtuoso

If you have allocated 4GB of RAM to the VM it is your configuration that's causing the server to show the high utilization. Windows will take all of the memory it can access at startup and touch it. Only after there is demand for memory on the ESX server will the balloon drivers kick in and try to recover this.

As others have suggested, look at the memory util. from inside the system and rightsize your vm allocation.

MSSQL will use memory for it's own purposes if available, and it's not unusual to see it at 1.8 GB if there is that much available.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

http://blog.mr-vm.com

http://www.vmprofessional.com

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-=-=-=- http://blog.mr-vm.com http://www.vmprofessional.com -=-=-=-=-=-=-=-=-=-=-=-=-=-=-
0 Kudos
dtux101
Enthusiast
Enthusiast

Lost my post so reposting...

The guest_mem usage is not an accurate report at all. Basically this guest mem usage is the average working set - meaning the task being executed in the VM when the stats were last updated. When collecting the stat, it will point to the the most memory hungry app inside the guestOS and use this value as the working set. It will only release this stat when memeory is released for another VM's use.

As a test - what happens the guest mem usage figure for your VC server VM if you start another 2 or 3 VMs in quick succession?

0 Kudos
TomHowarth
Leadership
Leadership

As Jae says, windows touches all its available memory on startup and keeps it, it is a jealous beast. personally I would reduce your VC guests memory footprint to about 2Gb, until you need it, according to your earlier replies you have checked your memory in the guest and found it to be using 600MB. this suggests memory bloat to me. remember part of the virtualisatio journey is to consolidate servers and get more utilisation our of resource. give your guests what they really need not what you would have given them if they were a phisical machine because it is cheaper to to buy 4Gb of memory when you buy the tin than upgrade it later.

Tom Howarth

VMware Communities User Moderator

Tom Howarth VCP / VCAP / vExpert
VMware Communities User Moderator
Blog: http://www.planetvm.net
Contributing author on VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment
Contributing author on VCP VMware Certified Professional on VSphere 4 Study Guide: Exam VCP-410
0 Kudos