You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2014/10/28 13:39:34 UTC

[jira] [Created] (CXF-6066) JAX-RS 2.0 Client implementation is OOM prone due to its strongly referencing WebTargets

Sergey Beryozkin created CXF-6066:
-------------------------------------

             Summary: JAX-RS 2.0 Client implementation is OOM prone due to its strongly referencing WebTargets
                 Key: CXF-6066
                 URL: https://issues.apache.org/jira/browse/CXF-6066
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
    Affects Versions: 3.0.2
            Reporter: Sergey Beryozkin
            Assignee: Sergey Beryozkin
             Fix For: 3.1.0, 3.0.3


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 

  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)