IBM Support

JR47388: MEMORY CANNOT BE RELEASED PROPERLY WITH TABLE CONTROL ON COACH

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • while executing the human task on portal, which contains coach
    including the table control;
    page,it is noticed that the memory usage not released properly
    after closing coach page, and very slow table rendering in 8.0.1
    coach view, observed in IE8
    

Local fix

  • 1. Create a new toolkit. (Optional, see #2)
    2. Copy the Stock Table control from Coaches toolkit to the new
    toolkit. Alternatively, copy in your process app.
    3. Change the Table unload Event, in Behaviour tab, by adding
    the line between "//add" comments,
    
    <unload>
    Array.forEach(this.bindingHandles, function(handle)
    {handle.unbind(); });
    Array.forEach(this.connectHandles, function(handle) {
    connect.disconnect(handle);});
    Array.forEach(this.subscribeHandles, function(handle) {
    connect.unsubscribe(handle); });
    if (this.grid != undefined && this.grid._originalResize !=
    undefined) {
     delete this.grid._originalResize;
    }
    this.grid.setStore(this.createEmptyStore());
    //add
    this.grid._click = [];
    //add
    delete this.grid.tableView;
    
    4. Create a snapshot of the toolkit. (Optional, see #2)
    5. Put a dependency on the toolkit (Optional, see #2)
    6. In your Coaches, where you experience the issue, bind the
    View to the new Table, rather than the Stock control,
    
    a. Open the Human Service/Coach, or Coach view, and select the
    tab where the Coach is laid out.
    b. Select the Table
    c. In Properties view > General > Behavior,  press Select next
    to View,  and select the new Table from the pick list.
    

Problem summary

  • Table control in IE does not release its memory use even after
    its containing task is unloaded and another task is loaded.
    
    USER AFFECTED:
    IE users who want to work with multiple tasks containing Tables
    within a single portal session.
    

Problem conclusion

  • Table leaks because dojox.grid.EnhancedGrid, which Table builds
    on, stores references to the mouse click event objects when a
    user clicks inside it.
    
    Fix: insert the line between "//add" comments to Table.unload()
    to release those references:
    
    Array.forEach(this.bindingHandles, function(handle) {
     handle.unbind();
    });
    Array.forEach(this.connectHandles, function(handle) {
     connect.disconnect(handle);
    });
    Array.forEach(this.subscribeHandles, function(handle) {
     connect.unsubscribe(handle);
    });
    if (this.grid != undefined && this.grid._originalResize !=
    undefined) {
     delete this.grid._originalResize;
    }
    this.grid.setStore(this.createEmptyStore());
    //add
    this.grid._click = [];
    //add
    delete this.grid.tableView;
    delete this.grid;
    
    FIX AVAILABILITY:
    Fix for 8.0.1.1 is avaialable as part of cumulative Coaches
    toolkit fix for APAR JR47225. More info at
    http://www.ibm.com/support/docview.wss?uid=swg1JR47225.
    
    When downloading interim fixes, ensure that the complimentary
    readme is obtained and reviewed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR47388

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-30

  • Closed date

    2013-08-16

  • Last modified date

    2013-08-16

  • 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

    BPM ADVANCED

  • Fixed component ID

    5725C9400

Applicable component levels

  • R801 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
07 January 2022