Applies to Uptime Infrastructure Monitor versions 5 and 6 only. If you are using UIM 7 or later, see the latest
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 is installed with a default Java Heap Size value of 1 Gb. For optimal performance, a value of 1.5 Gb is usually recommended.
When increasing the Java Heap Size, ensure that the Operating System can support the new setting. If the OS does not have the desired amount of memory available exclusively for Uptime Infrastructure Monitor, the Uptime Infrastructure Monitor core will fail on startup.
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
Windows Monitoring Station
To change the Java Heap Size on a Windows system, edit the following line in the <uptime install dir>/wrapper.conf file:
Java Heap Size is measured in megabytes on Windows systems.wrapper.java.maxmemory=1500