WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Resources
    • Nested Virtualization
  • VMware Nostalgia
  • Apple
You are here: Home / Home Lab / Quick Tip - Minimum amount of memory to run the vCenter Server Appliance

Quick Tip - Minimum amount of memory to run the vCenter Server Appliance

08.19.2013 by William Lam // 18 Comments

I thought this might have been common knowledge, but after chatting with a VMware colleague who recently rebuilt his home lab, I realized it may not be the case. The vCenter Server Appliance (VCSA) is distributed as a virtual appliance and by default it is configured for 8GB of memory. However, this is definitely NOT the "minimum" amount of memory required to have a fully functional vCenter Server.

It looks like some people are just downloading the vCenter Server appliance and just sticking with the defaults of 8GB of memory which for a home lab is quite a large footprint, especially given you will probably want to install other virtual machines. The actual minimum for vCenter Server (Windows or Linux) is just 4GB and technically speaking, you can even get away with just 3GB for the vCenter Server Appliance (anything less, the system is extremely slow and unusable).

Here is a quick screenshot showing vCenter Server Appliance running with only 3GB of memory:

VMware also has a KB article detailing the minimum requirements for the vCenter Server Appliance based on the number of virtual machines and hosts you plan on running. For my home lab, I normally stick with the 4GB of memory and I have not had any issues. Hopefully this tip will help you save some memory for either your lab or even production environment for other workloads.

More from my site

  • vCenter Server High Availability (VCHA) PowerCLI 6.5 community module
  • vCommunity "shorts" on their experiences w/the VCSA Migration
  • VCSA 6.5 CLI Installer now supports new ovftool argument pass-through feature
  • VCSA alarm for VCDB space utilization in vSphere 6.5
  • Updates to VMDK partitions & disk resizing in VCSA 6.5

Categories // Home Lab, VCSA, vSphere Tags // memory, vcenter server appliance, VCSA, vcva

Comments

  1. *protectedForbes Guthrie says

    08/20/2013 at 4:50 pm

    Hi,
    Any idea on the minimum vRAM/vCPU for the other VMware OVAs? I would be nice to have a comprehensive list for us labbers.
    I saw this post showing someone pushing the vCOps OVA from 16GB down to 5.5GB:
    http://cloudjockey.me/2012/05/07/vmware-vcenter-operations-in-memory-constrained-lab-environments/
    I run VIN successfully with 1 vCPU and 2GB vRAM, when the official documentation states 2 vCPUs and 4GB vRAM.

    Cheers,
    Forbes

    Reply
    • *protectedWilliam Lam says

      08/21/2013 at 4:40 am

      This is actually something I'm already looking into. Hopefully I'll have an answer soon

      Reply
    • *protectedMichael A Cooper says

      06/19/2021 at 6:25 am

      So how is the memory reduced, what is the process to redue this memory mine is 12 gb I definitely don't need that in my home lab.

      Reply
  2. *protectedAnonymous says

    08/21/2013 at 9:20 am

    Hi William,
    Lowering the RAM for the vCenter VA doesn't automatically change the JVM Heap settings?
    So this needs to be configured manually to match the RAM ammunt set on the vCenter VA, right?

    Regards,
    Christian

    Reply
  3. *protectedYite Chao says

    08/28/2013 at 10:14 pm

    It won't change jvm heap size. We can do both ways:

    1. Using web interface (https://vc:5480) to lower inventory size to small.
    2. If VM you tried to configure still smaller than 5GB (JVM config for small size mentioned above is 0.5+3G+1G), you can use CLI to change them in one line by login to shell prompt:

    # Usage: /usr/sbin/vpxd_servicecfg jvm-max-heap write tomcat_memsize is_memsize sps_memsize
    # example:
    /usr/sbin/vpxd_servicecfg jvm-max-heap write 256 1536 512

    But CLI did not handle other java services like SSO/vSphere Client Server/logBrowser, manual change its wrapper config is required (or search for JAVA_OPTS variable or -XmxNNNNm java cli option):

    SSO: /usr/lib/vmware-sso/bin/setenv.sh
    vSphere client server: /usr/lib/vmware-vsphere-client/server/bin/dmk.sh
    Log Browser: /etc/init.d/vmware-logbrowser

    Regards,
    Yite

    Reply
  4. *protectedJim Streit says

    03/17/2015 at 4:30 am

    William,
    Great information. Do you have any suggestions for minimizing the memory settings for vCenter 6.0 appliance?

    Thanks

    Reply
  5. *protectedlololo says

    04/27/2015 at 10:32 am

    I think it is the same procedure as for 5.5 !

    Reply
    • *protectedJim Streit says

      04/27/2015 at 2:33 pm

      lololo ... the files are different between 5.5 and 6.0
      In 5.5 I would make these changes;
      - Edit /usr/lib/vmware-vsphere-client/server/wrapper/conf/wrapper.conf, set wrapper.java.maxmemory=1024
      - Edit /usr/lib/vmware-vpx/inventoryservice/wrapper/conf/wrapper.conf, set wrapper.java.maxmemory=1536
      - Edit /usr/lib/vmware-vpx/sps/wrapper/conf/wrapper.conf, set wrapper.java.maxmemory=512

      Shutdown VM and change RAM from default 8GB to 4GB

      These settings are not longer in these files ... and the inventory service folder/file is gone.

      Definitely not the same procedure.

      Reply
      • William Lam says

        04/27/2015 at 2:39 pm

        The procedure is indeed *not* the same. Please take a look at this article for more details http://www.virtuallyghetto.com/2015/02/dynamic-memory-resizing-for-vcenter-server-6-0.html

        FYI - For VCSA 6.0, the lowest I've seen it tuned down is ~4.5-6GB of memory depending on some of your resources (e.g. Running it on SSDs apparently helps speed things up mention by other folks) and if you disable some unused services that can also help. YMMV

        Reply
        • *protectedJim Streit says

          04/27/2015 at 3:19 pm

          Thanks William,
          So based on the information in the link that you sent, with the new dynamic memory resizing algorithm, there is no need to manually tweak config files. Just change the VM memory to ~4.5-6 GB of memory and power back on ... and wait for it to boot. 😉
          You mention stopping unneeded services, is there an "elegant" way to stop those services?

          Thanks

          Reply
  6. *protectedahmed271 says

    05/13/2015 at 3:16 pm

    any link to download vcenter 5.5 appliance??pleaaaaaaase i need it

    Reply
    • *protectedanon4cec says

      02/01/2016 at 3:34 pm

      ??? logon to vmware site and download it.

      Reply
  7. *protectedJody Whitlock says

    11/21/2016 at 5:32 pm

    Is there a trick to force VCSA 6.5 to install/upgrade using < 10GB RAM?

    Reply
    • *protectedJoern says

      01/02/2017 at 12:54 pm

      Would like to know too. The 10GB RAM install requirement really is a deal breaker for me as my dedicated vcenter lab ESXi host has currently only 8GB. As I only have a handful of VM's to manage vcenter should really work with less than 8GB even though they added Update Manager to the vcsa services.

      I finally managed to circumvent this requirement by installing vcsa 6.5 in a nested ESXi on my workstation and transfering it later to my dedicated physical ESXi with ovftool. All in all a real pita.

      And theres one problem left. Even after decreasing the vcsa VM's memory in the config to a bit over 7GB ('cause ESXi overhead) the new dynamic memory resizing algorithm did not adapt to the decreased memory even after multiple reboots.
      "cloudvm-ram-size -l" still tells me the services are configured for 10.000MB

      Old procedures for adjusting the memory requirements do not work for me on vcsa 6.5.

      Any help/hint appreciated.

      Reply
  8. *protectedGreg Messemer says

    01/04/2023 at 6:12 pm

    It's 2023. Are we still sticking with 4 GB?

    Reply
  9. *protectedMichael Cooper says

    04/19/2023 at 1:43 am

    Thanks for the tip William, where do I make the memory change at in appliance?

    Thanks sir,

    Reply

Trackbacks

  1. vCenter Setup - VMware Workstaion Home Lab Setup Part 11 says:
    11/11/2014 at 2:00 pm

    […] wizard I shut the virtual machine off, edited the VM settings to only assign 4GB of RAM – thanks again to William Lam for the research on that.  Now power back on the VCSA, in my environment I went from 50% down to 33% – a nice savings […]

    Reply
  2. vCenter Setup – VMware Workstation Home Lab Setup Part 11 - NerdBlurt says:
    05/24/2016 at 10:56 am

    […] setup wizard I shut the virtual machine off, edited the VM settings to only assign 4GB of RAM – thanks again to William Lam for the research on that.  Now power back on the VCSA, in my environment I went from 50% down to 33% – a nice savings for […]

    Reply

Leave a Reply to lololoCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • Programmatically accessing the Broadcom Compatibility Guide (BCG) 05/06/2025
  • Quick Tip - Validating Broadcom Download Token  05/01/2025
  • Supported chipsets for the USB Network Native Driver for ESXi Fling 04/23/2025
  • vCenter Identity Federation with Authelia 04/16/2025
  • vCenter Server Identity Federation with Kanidm 04/10/2025

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2025