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

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

initial patch. Need to discuss the (1) default size and (2) the web.xml 
parameter name.
Let's say one skin takes 1M of SkinStyleProvider. What should the default size 
(number of skins in the LRUCache) be?


> 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

Reply via email to