Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 62192 invoked from network); 13 Apr 2011 17:36:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Apr 2011 17:36:46 -0000 Received: (qmail 56585 invoked by uid 500); 13 Apr 2011 17:36:46 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 56550 invoked by uid 500); 13 Apr 2011 17:36:46 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 56543 invoked by uid 99); 13 Apr 2011 17:36:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 17:36:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 17:36:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E1EACA01BC for ; Wed, 13 Apr 2011 17:36:05 +0000 (UTC) Date: Wed, 13 Apr 2011 17:36:05 +0000 (UTC) From: "Jeanne Waldman (JIRA)" To: dev@myfaces.apache.org Message-ID: <336032756.55617.1302716165922.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1842824817.6439.1296691709423.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (TRINIDAD-2026) memory leak in skinstyleprovider MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TRINIDAD-2026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019448#comment-13019448 ] Jeanne Waldman commented on TRINIDAD-2026: ------------------------------------------ This patch does not clear out _document off the Skin. SkinFactory#_FACTORIES is holding on to StyleSheetNodes. We register all skins with the SkinFactory. Once a skin has been requested by the user, we parse the stylesheet and store the stylesheetnodes with the skin. This is TRINIDAD-2087 > memory leak in skinstyleprovider > -------------------------------- > > Key: TRINIDAD-2026 > URL: https://issues.apache.org/jira/browse/TRINIDAD-2026 > Project: MyFaces Trinidad > Issue Type: Improvement > Reporter: Jeanne Waldman > Attachments: LRUCache.patch > > > There is no limit to the size of the providers cache in > SkinStyleProvider.java. Every time we ask for a new skin, we add to the > provider cache. > A skin has StyleSheetDocument and StyleSheetDocument has StyleSheetNodes. If > we remove a skin from the cache, we will need to clear out its _document, > which in turn will clear out the StyleSheetNodes. StyleSheetNodes are the > parsed representation of the skin css file. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira