IBM Support

PM23561: LARGE CLIENTDELEGATE INSTANCES LEADING TO HEAP EXHAUSTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: Customer reports large instances of
    ClientDelegate and IOR objects persisting on heap even after the
    Services(EJBs) been evacuated. Issue is seen on 142 SR13 FP4.
    
    Large no. of instances of following objects was found during
    HeapDump Analysis:
    a com.ibm.CORBA.iiop.ClientDelegate
    b com.ibm.CORBA.iiop.ObjectKey
    c)com.ibm.rmi.IOR
    .
    Stack Trace: N/A
    .
    In Customer Scenario the two largest collections of objects in
    on heap dump were the a)SessionManager and b) SelectionManager.
    SessionManager was collecting sessions for a common EJB or
    server. The SelectionManager cached the IOR (indirect object
    reference) for RMI calls.
    
    Analysis of heapdumps taken over the issue revealed a possible
    leak in the following object graph:
    ------------------------------------------------------
    com.ibm.ws.util.ThreadPool$Worker @ 0xa50aaaf0  ORB.thread.pool
    : 393 JNI Global, Thread
    <HAT>00- <Java Local> com.ibm.ws.orb.WSExtendedServerDelegate @
    0x712a8378
    <HAT>00  '- clientSubcontractMappingFactory
    com.ibm.CORBA.iiop.ServerDelegate$ClientSubcontractMappingFactor
    y @ 0x712bbff0
    <HAT>00     '- cache
    com.ibm.jtc.orb.map.CacheFactories$Soft$FutureCacheImpl @
    0x71642518
    <HAT>00        '- map java.util.HashMap @ 0x71642530
    <HAT>00           '- elementData
    java.util.HashMap$Entry<OSB>262144<CSB> @ 0x83000008
    <HAT>00              <HAT>00- <OSB>41042<CSB>
    java.util.HashMap$Entry @ 0x9a304648
    ............
    
    - <Java Local> com.ibm.CORBA.iiop.ORB @ 0x712a2010
    <HAT>00  <HAT>00- fWLMPlugin com.ibm.ws.wlm.client.WLMClient @
    0x712a2350
    <HAT>00  <HAT>00  '- impl
    com.ibm.ws.cluster.router.selection.WLMClientForCommonRouterImpl
    @ 0x712a3718
    <HAT>00  <HAT>00     '- selectionMgr
    com.ibm.ws.cluster.router.selection.SelectionManager @
    0x71af5e90
    <HAT>00  <HAT>00        '- proxies java.util.WeakHashMap @
    0x71afc218
    <HAT>00  <HAT>00           '- elementData
    java.util.WeakHashMap$Entry<OSB>376832<CSB> @ 0x85800148
    ............
    

Local fix

Problem summary

  • The "Soft" held ClientDelegate references in ORB's
    ServerDelegate led to a bloated memory footprint.
    

Problem conclusion

  • This defect will be fixed in:
    1.4.2 SR13-7
    1.4.2 SR13-7 (z/OS 64-bit)
    1.4.2 SR13-7 (Linux AMD64)
    1.4.2 SR13-7 (Windows AMD64)
    .
    The ClientDelegate cache in ServerDelegate  has been "Weak"end
    taking care to not loose functionality.
    
    The problem is seen on JDK142 between SR13-FP4 to SR13-FP6. It
    will be fixed in SR13-FP7.
    .
    To obtain the fix:
    Install build 20101105 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM23561

  • Reported component name

    Z/OS 64 JAVA

  • Reported component ID

    620400104

  • Reported release

    14B

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-09-30

  • Closed date

    2010-11-16

  • Last modified date

    2010-11-16

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

    PM23556

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

Fix information

  • Fixed component name

    Z/OS 64 JAVA

  • Fixed component ID

    620400104

Applicable component levels

  • R14B PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCGLMF","label":"Java SDK"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"14B","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
16 November 2010