Increasing the Java heap size
After you configure the VMware VI agent, if you are monitoring a large VMware environment, then you might need to increase the heap size for the Java™ data provider.
About this task
The default heap size for the Java™ data provider is 256
megabytes. In large VMware environments, if the following problems arise, then you might need to
increase the heap size:
- The Java data provider stops because of a javacore problem, and creates a file that is named javacore.date.time.number.txt in the CANDLEHOME\tmaitm6_x64 directory.
- The javacore.date.time.number.txt file contains the string java/lang/OutOfMemoryError.
Use the following heap size values depending on the number of ESX servers that you want to monitor:
- -Xmx2048m (2 GB) for environments with around 100 ESX hosts.
- -Xmx4096m (4 GB) for environments with around 250 ESX hosts.
- -Xmx8192m (8 GB) for environments with around 500 ESX hosts.

