After logging in, the iXp GUI becomes unresponsive. We are unable to expand the job tree on left instance pane and moments later, iXp shows the following dialog:
Error refreshing job data.
If problem persists, notify your iXp Administrator.
Java Console shows OutofMemoryError exceptions similar to:
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.util.Arrays.copyOf(Unknown Source)
...
...
@reuse:Java heap space
java.lang.OutOfMemoryError: Java heap space
at com.pgti.ixp.ui.flowview.FVSnapshot.<init>(FVSnapshot.java:87)
at com.pgti.ixp.ui.flowview.FlowView.resetSnapshot(FlowView.java:631)
at com.pgti.ixp.ui.flowview.FlowView.siteUpdate(FlowView.java:560)
...
...
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
at com.pgti.ixp.ui.ixpj.DataRetriever.notifyListeners(DataRetriever.java:838)
at com.pgti.ixp.ui.ixpj.DataRetriever.perform(DataRetriever.java:608)
at com.pgti.ixp.ui.ixpj.DataRetriever.run(DataRetriever.java:205)
Caused by: java.lang.OutOfMemoryError: Java heap space
CA Workload Automation iXp 11.3.5 on all supported platforms.
CA Workload Automation iXp is a Java Web Start application. By default, iXp's Java Web Start or Java Network Launching Protocol (iXp.jnlp) file is configured with an initial heap and max heap of 80MB and 256MB respectively. Java Web Start (javaws) adheres to this limit and in environments where the WAAE (AutoSys) instances configured in iXp are fairly large, it starts throwing "java.lang.OutOfMemoryError: Java heap space" exceptions as the Java Virtual Machine (JVM) could possibly run out of max heap memory.
Update the Java Network Launching Protocol (iXp.jnlp) file to increase the maximum heap size to 1024MB.
Windows OS:
1. Navigate to the %CATALINA_HOME%\webapps\ixp directory.
2. Edit the iXp.jnlp file using a text editor.
3. Locate the following line:
<j2se version="1.5+" initial-heap-size="80m" max-heap-size="256m" />
and change it to:
<j2se version="1.5+" initial-heap-size="256m" max-heap-size="1024m" />
4. Save the file.
UNIX / Linux:
1. Navigate to the $CATALINA_HOME/webapps/ixp directory.
2. Edit the iXp.jnlp file using a text editor (vi or vim).
3. Locate the following line:
<j2se version="1.5+" initial-heap-size="80m" max-heap-size="256m" />
and change it to:
<j2se version="1.5+" initial-heap-size="256m" max-heap-size="1024m" />
4. Save the file.
1. Clear the Java Web Start cache using command: javaws -clearcache
2. Relaunch iXp GUI and ensure the error does not happen.
Note:
Additional Information:
Java Control Panel on Windows