IBM Support

IZ76050: XMS .NET V2.0 CLIENT CONNECTED TO A WMQ V6 SERVER CAUSES MEMORY LEAK IN SESSION OBJECT.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using a XMS .NET v2.0 client application connected to a
    WebSphere MQ v6 queue manager, the message producer's Close()
    method is not properly disposing of referenced objects.  This
    causes a build up in the Session object.  When multiple message
    producers are continually opened and then closed, this memory
    leak can lead to an OutOfMemoryException, causing an abnormally
    termination of the XMS application.
    
    Internally IMessageProducer.Dispose() does not dispose of all
    references to object references resulting in the memory leak.
    
    This does not occur when an XMS .NET .v2.0 application is
    connected to a WebSphere MQ v7 queue manager.
    

Local fix

  • Upgrade the queue manager to WebSphere MQ v7.
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    XMS .NET applications connecting to WebSphere MQ v6 server and
    opening multiple producers and consumers.
    
    Platforms affected:
    Windows
    
    ****************************************************************
    PROBLEM SUMMARY:
    In XMS .NET client, when connecting to a WebSphere MQ v6 queue
    manager, the list of objects created by the session is
    maintained in two places - XmsSessionImpl and WmqSession.
    When disposing the producer object, the reference in the
    WmqSession list is not removed which results in memory build up
    as the number of producers increase.
    

Problem conclusion

  • The code has now been changed such that the object list is
    maintained only in XmsSessionImpl and when the objects are
    disposed, the cleanup is done correctly.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ76050

  • Reported component name

    MSG SRVCS CL .N

  • Reported component ID

    5724M2100

  • Reported release

    200

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-05-14

  • Closed date

    2010-05-25

  • Last modified date

    2010-05-25

  • 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

    MSG SRVCS CL .N

  • Fixed component ID

    5724M2100

Applicable component levels

  • R200 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCRTPP","label":"SupportPac"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"2.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
25 May 2010