myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeanne Waldman (JIRA)" <>
Subject [jira] [Commented] (TRINIDAD-2026) memory leak in skinstyleprovider
Date Wed, 13 Apr 2011 17:36:05 GMT


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:
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>            Reporter: Jeanne Waldman
>         Attachments: LRUCache.patch
> There is no limit to the size of the providers cache  in
> 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:

View raw message