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

JAX-RS 2.0 Client implementation is OOM prone due to its strongly referencing WebTargets

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.2
    • 3.0.3, 3.1
    • JAX-RS
    • None
    • Unknown

    Description

      A single JAX-RS 2.0 WebTarget may spawn many new WebTarget instances as per the WebTarget API docs. ClientImpl strongly references all WebTarget instances so that that can be pro-actively closed when Client.close() is called.
      However, reusing web targets to create new web targets may cause OOM.
      This issue has been identified by Hartmut Lang

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            sergey_beryozkin Sergey Beryozkin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: