Related Documentation | Version of up.time \naffected | Affected Platforms |
IOException: Not enough space (Java heap) \n | v7.0 and earlier | All |
NOTE: The following information is applicable to earlier versions of up.time. If you are using the current version, refer to the up.time product documentation for the latest information.
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 up.time 4) file to look like this:
# 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:
wrapper.java.maxmemory=1500