Unable to open a G3 station from the web browser when the error Java. lang. Out of memory error: Java Heap Space is seen in the station output.

Issue

Unable to open a G3 station from the web browser when the error "Java. lang. Out of memory error: Java Heap Space" is seen in the station output.

The error appears to clear itself after some time and the station will become accessible again.

Product Line

TAC I/A Series

Environment

I/A Series G3 ENS 3.0.101 and above

Cause

The station is running out of Java heap space.

Resolution

To resolve this issue, you can adjust the Java heap settings in the nre.properties file. It is important that you only make the changes as detailed below. Make a backup copy of this file before proceeding.

  1. Locate the file nre.properties in \niagara\<niagara version>\lib
  2. Open the nre.properties file using a text editor program (Notepad).
  3. Modify the java.options=-Xmx120M to java.options=-Xmx1024M leaving other parameters in the file unchanged.
  4. Save, close the file and restart the station.