IBM Support

RAD/RSAD 9.7.03 and higher and EWM Shell share issue - IDE restart fails due to 'Out of Memory' issue

Troubleshooting


Problem

After a successful P2 installation of IBM Engineering Workflow Management (EWM) version 7.0.1 client, attempts to restart to the Rational Application Developer version 9.7.0.3 and higher IDE and the Rational Software Architect Designer version 9.7.0.3 and higher fail due to an 'Out of Memory' condition.

Symptom

As an example, following the P2 installation of the IBM Engineering Workflow Management 7.0.1 client, a restart of Rational Application Developer fails. 
To reproduce the issue:
  1. Re-launch Rational Application Developer version 9.7.0.3 or higher (or Rational Software Architect Designer) when prompted upon the conclusion of the P2 installation of EWM 7.0.1.
  2. The IDE may restart after a long period of time. It may not restart at all. A series of core, heap, javacore, and snap dumps will be created in the <installation_home> directory due to an 'Out of Memory' condition.
  3. You may receive an error log dialog box that informs you that an error occurred. The dialog box will direct you to a log file that is contained in the <installation_home>\SDP\configuration directory. For example:
    !SESSION 2020-09-02 11:29:12.011 -----------------------------------------------
    eclipse.buildId=unknown
    java.fullversion=8.0.6.7 - pwa6480sr6fp7-20200312_01(SR6 FP7)
    JRE 1.8.0 Windows 10 amd64-64-Bit Compressed References 20200219_440062 (JIT enabled, AOT enabled)
    OpenJ9   - 3088245
    OMR      - eb95a4d
    IBM      - 83517b6
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
    Framework arguments:  -product com.ibm.rational.rad.product.v97.ide
    Command-line arguments:  -data file:/C:/workspaces/RAD9703/EWM701-ss-perm-20200902/ -os win32 -ws win32 -arch x86_64 -product com.ibm.rational.rad.product.v97.ide
    
    !ENTRY org.eclipse.osgi 4 0 2020-09-02 11:36:17.119
    !MESSAGE Startup error
    !STACK 1
    java.lang.OutOfMemoryError: Java heap space
    at java.util.concurrent.locks.AbstractQueuedSynchronizer.addWaiter(AbstractQueuedSynchronizer.java:617)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1029)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1339)
    at java.util.concurrent.Semaphore.tryAcquire(Semaphore.java:420)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.updateSplash(EclipseStarter.java:1177)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.setStartLevel(EclipseStarter.java:1134)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:333)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
    

Cause

There is a memory leak in the Eclipse OSGI Felix.Resolver that is causing this problem. For more information, see the Eclipse bug.

Diagnosing The Problem

  1. Run Rational Application Developer version 9.7.0.3 or higher (or Rational Software Architect Designer 9.7.0.3 or higher).
  2. Perform a P2 installation of the IBM Engineering Workflow Management 7.0.1 client.
  3. Restart the IDE at the conclusion of the installation. 
  4. Check the installation directory for core, heap, javacore, and snap dumps. 

Resolving The Problem

To resolve the issue, modify the eclipse.ini file java maximum heap size argument (-Xmx) by increasing the value from 3gb to 4gb. Save the change and attempt to restart the IDE again. 
For example:"-Xmx3072m" must be changed to "-Xmx4096m" or "-Xmx4G"
This change is only required for the initial restart of the IDE. After the IDE has been started one time, the eclipse.ini value can be restored to its original value. 
Alternatively, open a terminal, navigate to the <installation_home> installation directory and launch the IDE using the -initialize argument. For example:
eclipse.exe -product com.ibm.rational.rad.product.v97.ide -initialize

Document Location

Worldwide

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"ARM Category":[{"code":"a8m0z000000bm08AAA","label":"Rational Application Developer"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7.0"},{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"ARM Category":[{"code":"a8m50000000L1nBAAS","label":"Rational Software Architect"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7.0"}]

Document Information

Modified date:
23 June 2022

UID

ibm16326047