Memory tuning on vCenter server appliance 5.5


Memory tuning vCenter server appliance

After deployment of vCenter server appliance, memory tuning on vCenter server appliance is the first task you should do after deployment and configuration. In particular when you deploy vCenter server appliance to your homelab environment, by tuning JVM heap size for vCetner server process you can easily save up 5GB RAM out of your homelab resources.

Default values for JVM per service are below:

Memory for VMware vSphere Web client:
  • /usr/lib/vmware-vsphere-client/server/wrapper/conf/wrapper.conf
Memory for inventory services
  • /usr/lib/vmware-vpx/inventoryservice/wrapper/conf/wrapper.conf
Memory for storage profiles
  • /usr/lib/vmware-vpx/sps/wrapper/conf/wrapper.conf

Quick way to list configured memory is from command line by typing below command

vcsa01:~ # vpxd_servicecfg jvm-max-heap read
vcsa01:~ #

For homelab deployment my suggestion is to downgrade vCenter server appliance memory by at least 50%, from 8GB to 4GB or even 3GB. Test your settings on your own and tune memory values accordingly to your needs.

Memory tuning on vCenter server appliance 5.5

  • Log in to vCenter server appliance using SSH
  • Edit /usr/lib/vmware-vsphere-client/server/wrapper/conf/wrapper.conf configuration file, look for JVM memory section and change maxmemory to 1024
#  JVM Memory
  •  Edit /usr/lib/vmware-vpx/inventoryservice/wrapper/conf/wrapper.conf configuration file, find parameter and change it from 3072 to 1536
# Maximum Java Heap Size (in MB)
  •  Edit /usr/lib/vmware-vpx/sps/wrapper/conf/wrapper.conf find parameter and change it from 1024 to 512
# Maximum Java Heap Size (in MB)
  • Shutdown VM
  • Change virtual machine RAM from default 8GB to 4GB – to start with

Default vCPU number for virtual machine with vCSA is 2, for HomeLab I’m always changing it back to 1, it doesn’t harm.

  • Power VM up again and check if vCenter server is up again.

Good way of checking server performance is top tool. TOP is available by default in almost every Linux distribution, it is handy tool if you have to troubleshoot or monitor system performance.

Log in to vCenter server appliance via SSH and type top. Check memory metrics and verify how much memory is used, swapped.

vcenter server appliance - use to to monitor performance

vCenter server appliance – use top for performance monitoring

  1. Memory size recommendation for vCenter server appliance KB2005086
0 0 votes
Article Rating

Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur holds VMware Certified Design Expert certification (VCDX #077).

Notify of
1 Comment
Newest Most Voted
Inline Feedbacks
View all comments
Vikram Gill

Cheers, im also looking into tuning it further and decrease the memory footprint even further and perhaps also speed it up.

Would love your thoughts, please comment.x

FOR FREE. Download Nutanix port diagrams

Join our mailing list to receive an email with instructions on how to download 19 port diagrams in MS Visio format.

NOTE: if you do not get an email within 1h, check your SPAM filters

You have Successfully Subscribed!

Don't miss any posts. Subscribe To Our Newsletter!!

Join our mailing list to receive the latest news and updates from

You have Successfully Subscribed!

Pin It on Pinterest