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

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1, 3.1.6
    • 3.0.10, 3.1.7, 3.2.0
    • Bus, JAX-RS
    • None
    • Redhat Enterprise Linux (Santiago), OpenJDK 7, Tomcat 7

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: