KB Article #60684

TE nodes down due to Memory heap size exception

Problem

Caught an OutOfMemoryError.  Restarting java.lang.OutOfMemoryError: Java heap space


Resolution

Interchange should attempt to restart on an OutOfMemory exception until it's successful (i.e., indefinitely). Your current TE heap size is set at 512MB. This can (and probably should) be increased to a maximum of 1024MB. To do so, we'll first need to determine your OS version. This can be done by entering a "uname -s" command (this is how Interchange determines the version). You can then use that information to edit your startServer script. The portion of the script that must be changed is the "TETX_HEAP=" line appropriate to your version. For example, if your uname -s command returns "Solaris" your edited startServer script should look like this:



case $OS in
AIX)
TETX_HEAP=512;;
Solaris)
TETX_HEAP=1024;;
SunOS)
TETX_HEAP=512;;
*)
TETX_HEAP=256;;



This change will not take place until Interchange is restarted.