Setting Maximum Java Heap Size

The default maximum Java heap size for the discovery_server and discovery_agent probes is set using the Raw Configure option.
uim835
The default maximum Java heap size for the discovery_server and discovery_agent probes is set using the Raw Configure option.
The recommendations below are general guidelines only. Memory capacity is highly variable dependent upon your Unified Infrastructure Management environment and configuration, and the recommendations below may not not be sufficient for your environment.
Discovery Server
The default maximum Java heap size is 1 GB and is intended to support up to 5000 robots. For deployments with more than 5000 robots, we recommend you increase the maximum Java heap size by 1 GB per 5000 robots.
  1. Open the discovery_server probe in Raw Configure:
    • Admin Console: 
      click the icon next to the probe and select 
      Raw Configure
      .
    • Infrastructure Manager: 
      shift+right-click the probe and select 
      Raw Configure
      .
  2. Navigate to 
    startup >
    opt
    .
  3. Enter the desired value for 
    java_mem_max 
    using increments of 1024 MB:
    • 1 GB = -Xmx1024m
    • 2 GB = -Xmx2048m
Discovery Agent
The default maximum Java heap size is 256 MB. For discovery ranges equivalent to a class B subnet, or in excess of 30,000 addressable devices, we recommend you increase the maximum heap allocation to 512 MB or 1024 MB.
  1. Open the discovery_agent probe in Raw Configure:
    • Admin Console: 
      click the icon next to the probe and select 
      Raw Configure
      .
    • Infrastructure Manager: 
      shift+right-click the probe and select 
      Raw Configure
      .
  2. Navigate to 
    startup >
     
    opt
    .
  3. Enter the desired value for
     java_mem_max
    :
    • 512 MB = -Xmx512m
    • 1 GB = -Xmx1024m