IBM Support

JR35210: MEMORY LEAK WHEN USING WEBSERVICE WITH DYNAMIC ENDPOINTS

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • This APAR fixes a slow memory leak when using dynamic endpoints
    with Web Services.
    
    This issue has to do with the wsdl model for the Web Service
    interaction being stored for each client.
    
    Over time this leads to a memory leak, and eventually
    OutOfMemory.
    
    
    Heapdump analysis may detect a leak suspect with
    com/ibm/ws/sca/internal/webservice/handler/PortHandler
    
    such as:
    
    |---------com/ibm/wsspi/sca/scdl/webservice/impl/WebServiceImpor
    tBindingImpl, object0x62e04e00, reaches: 489,219,884 bytes
    |---------org/eclipse/emf/common/notify/impl/BasicNotifierImpl$E
    AdapterList, object0x66119c70, reaches: 489,219,548 bytes
    |---------org/eclipse/emf/common/notify/Adapter[ ],
    array0x66119f08, reaches: 489,219,528 bytes
    |---------com/ibm/ws/sca/internal/webservice/handler/WebServiceI
    mportHandler$BindingAdapterImpl, object0x66119c90, reaches:
    489,219,520 bytes
    |---------java/util/WeakHashMap, object0x66119ca8, reaches:
    489,219,208 bytes
    |---------java/util/WeakHashMap$Entry[ ], array0x8af0b150,
    reaches: 489,219,152 bytesLEAK_CONTAINER <------ Object holding
    the leaking objects
    
    |---------Leaking unit:
    |---------java/util/WeakHashMap$Entry, object0x760a1758,
    reaches: 39,675,472 bytes
    |---------java/util/WeakHashMap$Entry, object have grown by 41
    instances
    |---------com/ibm/ws/sca/internal/webservice/handler/PortHandler
    , object
    
    Also the counts section may reveal a high number of certain
    types:
    For example:
    org/apache/xerces/dom/DeferredTextImpl static, class 1463075
    instances
    java/util/LinkedHashMap$Entry static, class 1416418 instances
    

Local fix

  • Monitor the server's memory usage and periodically proactively
    restart the server in order to avoid OutofMemory crashes.
    
    
    An interim fix will be created to resolve the memory leak issue.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Websphere process server v6.1.2.x users.    *
    ****************************************************************
    * PROBLEM DESCRIPTION: Customer sees Out of Memory (OOM)       *
    *                      issue when using dynamic endpoints      *
    *                      invocation with jax-rpc imports.        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    WebSphere Process Server caches many web service client
    (javax.xml.rpc.Call) instances for each operation and
    endpoints, and each client will have a reference to a
    in-memory WSDL model for the service interface.
    Unfortunately, this WSDL model is loaded for each client
    instance, and this WSDL model in memory is large causing Out
    Of Memory.
    

Problem conclusion

  • The fix JR35210 addresses this problem by refactoring the
    cache mechanism to share the Jax/RPC client instances across
    the endpoints.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR35210

  • Reported component name

    WEB PROC SERVER

  • Reported component ID

    5724L0100

  • Reported release

    612

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-12-21

  • Closed date

    2010-03-11

  • Last modified date

    2010-03-11

  • 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

    WEB PROC SERVER

  • Fixed component ID

    5724L0100

Applicable component levels

  • R612 PSY

       UP



Document information

More support for: WebSphere Process Server

Software version: 6.1.2

Reference #: JR35210

Modified date: 11 March 2010


Translate this page: