The Java heap is a repository for Java objects and free memory. The Java heap size should generally be increased 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.
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:
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: