You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Jason Taylor (JIRA)" <ji...@apache.org> on 2017/05/24 20:17:04 UTC
[jira] [Updated] (FLEX-35312) Memory Leak in GridViewLayout
[ https://issues.apache.org/jira/browse/FLEX-35312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Taylor updated FLEX-35312:
--------------------------------
Attachment: jtaylor_flexsdk_gridviewlayoutcache_patch.diff
Attached is the patch file to fix this issue
> Memory Leak in GridViewLayout
> -----------------------------
>
> Key: FLEX-35312
> URL: https://issues.apache.org/jira/browse/FLEX-35312
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: Grid
> Affects Versions: Apache Flex 4.13.0, Apache Flex 4.12.1, Apache Flex 4.14.0, Apache Flex 4.15.0, Apache Flex 4.14.1, Apache Flex 4.16.0, Apache Flex 4.17.0
> Environment: All
> Reporter: Jason Taylor
> Labels: memory, memory-leak, spark
> Attachments: jtaylor_flexsdk_gridviewlayoutcache_patch.diff
>
>
> The Spark GridViewLayout uses strong dictionaries for caching itemrenderers, often leading to a situation where those itemrenderers are never released to the garbage collector.
> The proposed patched changes GridViewLayout to use weak reference dictionaries and additionally adds a public method to Grid to allow the client to explicitly flush the item renderer cache.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)