Limiting vCenter TomCat Usage

Here is how to limit the memory usage for VMware’s vCenter…

First vCenter relies on a customized Apache Tomcat to run its vCenter product (mostly graphs, Web Interface and other items), while limiting the memory hasn’t proven to have a negative effect this procedure should be done with caution. This can cause slowness in portions of the application since it will no longer be able to store large amounts of data in RAM and will have to access the database for this information.

  1. Open Regedit on the vCenter server
  2. Navigate to: HKLMSoftwareWow6432NodeApache Software FoundationProcrun 2.0vctomcatParamatersJava
  3. Change JvmMS, JvmMX and JvmSs to ‘0’

Restart the VMware vCenter WebAccess Service in Windows and enjoy a smaller footprint of the Tomcat process.  The average RAM usage for Tomcat after this change should be around 256MB (plus or minus the amount of VM’s being managed).

This procedure should only be done in test or small environments, anything over 10 hosts should follow the defaults from VMware (1024 and 512).

  1. Great. You saved my day….

    Like

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: