Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6938

Setting the providers on a bus causes a leak if this bus is used by per-request clients

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1, 3.1.6
    • Fix Version/s: 3.0.10, 3.1.7, 3.2.0
    • Component/s: Bus, JAX-RS
    • Labels:
      None
    • Environment:

      Redhat Enterprise Linux (Santiago), OpenJDK 7, Tomcat 7

    • Estimated Complexity:
      Moderate

      Description

      We have an application with REST client components for making calls to Backend web services. During our routine performance test, JProfiler tool shows lots of Bus property entries (with keys named "bus.providers.set.<hashCode>") populated while creating instances of ClientProviderFactory.

      These Bus property entries seem to stay in heap for the whole duration of the 6 hour run. In fact, around 100,000 entries occupying 13 MB of heap.

      In short, GC doesn't seem to happening frequently enough to keep the heap usage within limits.

      Is this some sort of a bug or, lack of necessary configuration in CXF?
      Either ways, we need your guidance for trouble-shooting this issue.

        Attachments

          Activity

            People

            • Assignee:
              sergey_beryozkin Sergey Beryozkin
              Reporter:
              ranadeep.sharma@gmail.com RANADEEP SHARMA
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: