Tigran Najaryan created FLEX-33236:
--------------------------------------

             Summary: Calling automationManager2.getChildren() on Spark 
DataGrid causes memory leak
                 Key: FLEX-33236
                 URL: https://issues.apache.org/jira/browse/FLEX-33236
             Project: Apache Flex
          Issue Type: Bug
          Components: AgentAPI, Spark: DataGrid
    Affects Versions: Adobe Flex SDK 4.6 (Release)
         Environment: Windows 7, Flash Builder 4.x, Internet Explorer 9
            Reporter: Tigran Najaryan
         Attachments: MemoryLeakTest.fxp

To reproduce:

1. Import attached project to Flash Builder and run in Profile mode. 
2. Let the application load in browser and click "getAutomationChildrenArray" 
button. 
3. Watch how on every attempt to get children the total memory shown in flash 
Builder Profiler view grows and never goes down.

The problem can be also seen clearly without profiler. Just watch 
"iexplore.exe" process memory consumption in Task Manager.

Possibly caused by GridColumnHeaderGroupLayout/getHeaderRendererAt() creating 
item renderer at line 597 via call to allocateVisualElement and never releasing 
it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to