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

Flex Image Component consumes a lot of memory for SVG images and the UI responsiveness degrades exponentiallly for > 1K images on canvas

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 3.6 (Release)
    • None
    • mx: Image
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Use the Image control to add Images to a canvas with the Images "src" field pointing to an SVG Image.
      2. As the number of Images added to the canvas Increases then the performance deteriorates.
      3. It uses unusual amount of memory and the memory will not be released back after using remove child too.
      4. If the Images are less around 200 then the performance is good and memory usage is with in limit, As the amount of Images increase, the performance degrades exponentially and the memory consumption increases exponentially.

      I have attached a sample code to add images and remove images. We have talked with the flex support team and got a response that the slow UI responsiveness when trying to scroll through all 1k SVG image was due to the overhead of the mass amount of edge-detection that is required by the Flash Player.

      Actual Results:
      The Application performance deteriorates exponentially

      Expected Results:
      The Application performance should deteriorates linearly.

      Workaround (if any):
      None.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: