cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-1656) PolicyEngineImpl Memory Improvement
Date Tue, 02 Sep 2008 20:01:44 GMT

     [ https://issues.apache.org/jira/browse/CXF-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp resolved CXF-1656.
------------------------------

    Resolution: Fixed

> PolicyEngineImpl Memory Improvement
> -----------------------------------
>
>                 Key: CXF-1656
>                 URL: https://issues.apache.org/jira/browse/CXF-1656
>             Project: CXF
>          Issue Type: Improvement
>          Components: WS-* Components
>    Affects Versions: 2.1.1, 2.0.7
>            Reporter: Bharath Ganesh
>            Assignee: Daniel Kulp
>             Fix For: 2.1.3
>
>
> PolicyEngineImpl maintains a clientEndpointInfos map to keep the EndpointPolicies for
client endpoints. An entry added to this map (while a client comes in)  is removed only when
the server endpoint is stopped. This leads to very high memory usage when there are frequent
getPort() Calls.
> This can be can be reduced by maintaining a weak reference to the client EndpointInfo's.
[Make clientEndpointInfoMap a weakhashmap]
> This would mean that after the lifetime of a single client port, all its data structures
would be cleared. We need to explore more on this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message