[
https://issues.apache.org/jira/browse/CXF-6066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Beryozkin resolved CXF-6066.
-----------------------------------
Resolution: Fixed
> 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)