Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-22431

DataGroup leaks ItemRenderers when layout.useVirtualLayout=true and itemRendererFunction != null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK 4.5 (Release)
    • None
    • Spark: DataGroup
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      DataGroup adds ItemRenderers to its internal free list when recycling isn't possible, notably when itemRendererFunction != null. If dataProvider.length is large, this is a significant memory leak.

      The attached application demonstrates the problem. Monitor the application's heap size with TaskManager and slowly scroll from one end to the other.

      Actual Results: Memory usage grows without bounds.

      Expected Results: Memory usage peaks after a few seconds and is held in check by the GC.

      Workaround (if any):

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: