IBM Support

RS03928: LONG RUNNING RETE EXECUTION WITH DECISION ENGINE MAY THROW OUTOFMEMORY EXCEPTION

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When using RETE intensively with XML binding the execution may
    throw an out of memory exception before completing.
    
    If a javacore is generated the following trace is found
    
    
    at  com/ibm/rules/engine/runtime/debug/AbstractDebugNotifier.
    pushLocation(AbstractDebugNotifier.java:65(CompiledCode))
    at com/ibm/rules/engine/runtime/debug/AbstractDebugNotifier.set
    LocationIndex(AbstractDebugNotifier.java:229(CompiledCode))
    at com/ibm/rules/engine/rete/runtime/AbstractReteEngine.setLoca
    tionIndex(AbstractReteEngine.java:723(CompiledCode))
    

Local fix

  • refactor the rules to prevent the execution from running for too
    late. Remove update engine whenever possible, for example when
    the object modified is not part of the condition of the rules
    update is not required.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users executing with RETE with XML binding.                  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When using RETE intensively with XML binding the execution   *
    * may                                                          *
    * throw an out of memory exception before completing.          *
    *                                                              *
    * If a javacore is generated the following trace is found      *
    *                                                              *
    *                                                              *
    * at                                                           *
    * com/ibm/rules/engine/runtime/debug/AbstractDebugNotifier.    *
    * pushLocation(AbstractDebugNotifier.java:65(CompiledCode))    *
    * at                                                           *
    * com/ibm/rules/engine/runtime/debug/AbstractDebugNotifier.set *
    * LocationIndex(AbstractDebugNotifier.java:229(CompiledCode))  *
    * at                                                           *
    * com/ibm/rules/engine/rete/runtime/AbstractReteEngine.setLoca *
    * tionIndex(AbstractReteEngine.java:723(CompiledCode))         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Memory consumption has been improved.
    

Temporary fix

  • refactor the rules to prevent the execution from running for too
    late. Remove update engine whenever possible, for example when
    the object modified is not part of the condition of the rules
    update is not required.
    

Comments

APAR Information

  • APAR number

    RS03928

  • Reported component name

    WDS FOR RULES

  • Reported component ID

    5725B6903

  • Reported release

    8A0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-05-31

  • Closed date

    2022-06-08

  • Last modified date

    2022-06-08

  • 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

    WDS FOR RULES

  • Fixed component ID

    5725B6903

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSQP76","label":"IBM Decision Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8A0"}]

Document Information

Modified date:
09 June 2022