Applies to Uptime Infrastructure Monitor versions 5 and 6 only. If you are using UIM 7 or later, see the latest Uptime Infrastructure Monitor documentation.
The Java heap is a repository for Java objects and free memory. The rule is to increase the Java heap size when you have:
- a large number of service monitors.
- a large number of reports to run.
Adjusting the Java heap size
Uptime Infrastructure Monitor is installed with a default Java heap size value of 1 Gb. For optimal performance, we recommend a value of 1.5 Gb.
When increasing the Java heap size, make sure that the operating system can support the new setting. If the OS does not have the desired amount of memory available exclusively for UIM, then the core may fail on startup.
Using RedHat, SuSE, and Solaris monitoring stations
To change the Java Heap Size, modify the <uptime install dir>/uptime.lax (or uptime4d.lax in Uptime Infrastructure Monitor 4) file to look like this:
Java Heap Size is measured in bytes on UNIX and Linux systems.
# LAX.NL.JAVA.OPTION.JAVA.HEAP.SIZE.MAX # ------------------------------------- # Max VM size in bytes lax.nl.java.option.java.heap.size.max=1500m
Using Windows monitoring station
To change the Java heap size on a Microsoft Windows system, edit the following line in the <uptime install dir>/wrapper.conf file:
wrapper.java.maxmemory=1500
Java heap size is measured in megabytes on Microsoft Windows systems.