myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeanne Waldman (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TRINIDAD-2026) memory leak in skinstyleprovider
Date Fri, 15 Apr 2011 17:08:05 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-2026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020357#comment-13020357
] 

Jeanne Waldman commented on TRINIDAD-2026:
------------------------------------------

We voted via email and the consensus is:
org.apache.myfaces.trinidad.skin.MAX_SKINS_CACHED

> 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

Mime
View raw message