IBM Support

PM91002: java.lang.OutOfMemoryError during UML to WSDL transformation

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment:
    - RSA 8.5.1
     - Windows 7
    
    Reproducible: Y
    
    Description of problem:
    
    On some models, when you run a UML-?WSDL transformation, the
    transformation runs for more than 10 minutes and ends up with a
    java.lang.OutOfMemoryError. This only happens when the option to
    convert a nested class to anonymous type implicitly is checked,
    but it occurs even when all types are named.
    
    If you increase the heap size sufficiently, the OutOfMemoryError
    won't happen, but the transformation never finishes.
    
    
    
    Here's an extract of the trace that can be seen in the logs:
    
    !ENTRY org.eclipse.ui 4 0 2013-05-21 11:58:24.556
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.OutOfMemoryError: Java heap space
        at
    org.eclipse.swt.widgets.Shell.WM_WINDOWPOSCHANGING(Unknown
    Source)
        at [...]
    
    !ENTRY org.eclipse.core.jobs 4 2 2013-05-21 11:58:24.560
    !MESSAGE An internal error occurred during: 'Reduce memory'.
    !STACK 0
    java.lang.OutOfMemoryError: Java heap space
        at
    com.ibm.etools.performance.core.internal.ReduceMemoryJob.run(Unk
    nown
    Source)
        at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
    
    
    Steps to reproduce
    
    1) Create a UML to WSDL transformation
    
    2) Make sure that the option to convert a nested class to
    anonymous type implicitly is checked,
    
    3) Run the transformation.
    
    4) Notice that the transformation takes a lot of time and that
    after 10 to 15 minutes it fails with an OutOfMemoryError.
    
    Workaround
    
    The only workaround is to deactivate the conversion of nested
    classes to anonymous types implicitly, but this is not an
    acceptable solution as it does not generate the desired WSDL.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    UML to WSDL transformation throws OutOfMemory error for
    large models.
    

Problem conclusion

  • Running the UML to WSDL transformation executes without and
    OutOfMemory Errors even for large models.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM91002

  • Reported component name

    RATL SW ARCHITE

  • Reported component ID

    5725A3000

  • Reported release

    851

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-06-13

  • Closed date

    2014-03-31

  • Last modified date

    2014-03-31

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RATL SW ARCHITE

  • Fixed component ID

    5725A3000

Applicable component levels

  • R851 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"851","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"851","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
10 September 2020