ERROR: Java.lang.outofmemory error



ERROR: Java.lang.outofmemory error


Information in this Brief applies to:

  • StarTeam 5.x Enterprise Advantage
  • Windows NT, 2000, 2003 Server


When trying to open a custom change request form the error: Java.lang.outofmemoryerror may occur and the form will fail to load. The error should be workstation specific but may occur on multiple workstations if the Java version and memory allocations are the same.


The error indicates that Java is running out of available memory. This conclusion is supported by the behavior where shutting down StarTeam and re-opening it seems to temporarily resolve the issue. The shutdown of the client releases memory and memory is freshly allocated on the restart.

You can edit the amount of memory available to Java from within the control panel"s Java applet. To do this open the Control Panel->Double-click the Java Applet Icon->Select the "Advanced" tab->Edit the "Java runtime parameters" field to include -Xmx1024m

The -X uses the extra commands, mx is for memory, and 1024m is 1,024 MB.

This should resolve this error; however, if you do not have a recent Java version, you may not have a Java Applet icon in the control panel. You would need to upgrade to a newer Java version such as 1.4.1_02 from, to resolve this issue.

Old KB# 28471
Comment List