Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 71231 invoked from network); 22 Aug 2008 17:03:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Aug 2008 17:03:37 -0000 Received: (qmail 47104 invoked by uid 500); 22 Aug 2008 17:03:34 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 47015 invoked by uid 500); 22 Aug 2008 17:03:34 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 47004 invoked by uid 99); 22 Aug 2008 17:03:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Aug 2008 10:03:34 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Aug 2008 17:02:44 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 51B2E234C1CC for ; Fri, 22 Aug 2008 10:02:44 -0700 (PDT) Message-ID: <1532847156.1219424564333.JavaMail.jira@brutus> Date: Fri, 22 Aug 2008 10:02:44 -0700 (PDT) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Subject: [jira] Assigned: (CXF-1656) PolicyEngineImpl Memory Improvement In-Reply-To: <438726591.1213736445937.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp reassigned CXF-1656: -------------------------------- Assignee: Daniel Kulp (was: Bharath Ganesh) > 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.