VMware Cloud Community
hkito
Enthusiast
Enthusiast

High memory utilization in vCenter

Hi,

My vCenter server have 16GB memory, but 94% memoey utililized by sqlservr.exe and java.exe

Please advice how to drop the utilization.

Thanks

0 Kudos
10 Replies
Anjani_Kumar
Commander
Commander

This is a weird and obvious problem with the SQL server always as more you feed the memory the more its become hungry.

So avoiding this high memory utilization you need to limit the memory assignment to the SQL process. How to: Set a Fixed Amount of Memory (SQL Server Management Studio)

Please consider marking this answer "correct" or "helpful" if you found it useful. Anjani Kumar | VMware vExpert 2014-2015-2016 | Infrastructure Specialist Twitter : @anjaniyadav85 Website : http://www.Vmwareminds.com
0 Kudos
hkito
Enthusiast
Enthusiast

Hi,

How many memory should be assigned to SQL server ?

Thanks

0 Kudos
Anjani_Kumar
Commander
Commander

depends on how many transaction is happening in your infra. if its a small infra like 100>500 vms then you can go for 8GIG of memory limit.will be quite enough

Please consider marking this answer "correct" or "helpful" if you found it useful. Anjani Kumar | VMware vExpert 2014-2015-2016 | Infrastructure Specialist Twitter : @anjaniyadav85 Website : http://www.Vmwareminds.com
0 Kudos
hkito
Enthusiast
Enthusiast

Hi,

Just chekced currently min = 8192 (8M) and max = 14500 (14MB)

Why process using 9GB ?

Thanks

0 Kudos
Anjani_Kumar
Commander
Commander

These values runs on MB. 8192 MB > 8 GIG and 14500 MB > 14 GIG.

Thats the reason. change it to 4096 Min  and 8192 Max and see the changes

Please consider marking this answer "correct" or "helpful" if you found it useful. Anjani Kumar | VMware vExpert 2014-2015-2016 | Infrastructure Specialist Twitter : @anjaniyadav85 Website : http://www.Vmwareminds.com
0 Kudos
hkito
Enthusiast
Enthusiast

Hi,

I have a question, currently 14GB is max memory and using. If drop max memory to 8GB, will memory not enough for SQL ?

Otherwise, although max is set to 14GB but why all are using ?

Thanks

0 Kudos
Anjani_Kumar
Commander
Commander

This is the SQL nature thats why people use to limit this. We seen so many case where 128 Gig of ram assigned and sql using 110 Gig out of it. And not enough transaction even going on.

8 GIG of Memory is enough if you are running till 1000 vm in your infra. so no crisis if you meet the configuration.

Please consider marking this answer "correct" or "helpful" if you found it useful. Anjani Kumar | VMware vExpert 2014-2015-2016 | Infrastructure Specialist Twitter : @anjaniyadav85 Website : http://www.Vmwareminds.com
0 Kudos
hkito
Enthusiast
Enthusiast

Hi,

OK. Do I need to stop vCenter or SQL server before this configuration ? Need restart after configuration ?

Or just configure it ?

Thanks

0 Kudos
Anjani_Kumar
Commander
Commander

Just configure it. After configuring its start lowering the memory usage itself. no need of service start/stop.

Please consider marking this answer "correct" or "helpful" if you found it useful. Anjani Kumar | VMware vExpert 2014-2015-2016 | Infrastructure Specialist Twitter : @anjaniyadav85 Website : http://www.Vmwareminds.com
0 Kudos
TonyJK
Enthusiast
Enthusiast

From my understanding,  SQL Server needs to be restarted (after changing memory configurations) so that it releases the additional memory acquired.

SQL Server memory setting. Restart required?

Thanks

0 Kudos