[ 
https://issues.apache.org/jira/browse/FLEX-35055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248699#comment-15248699
 ] 

Justin Mclean commented on FLEX-35055:
--------------------------------------

Try doing the same thing twice and compare the results after from after the 
first clean and the second clean. There are a few things being cached and 
created the first time a text field (and other components) are created which 
may be confusing the results.

Also I don't think your clean button is doing full GC, please use the GC button 
in Scout if you can.

You may also want to change your code and make it a bit simpler, there is for 
example no need for the ctrls array of instances. Also you might want to see 
what happens when you remove the scroller and change the layout to something 
other than TileLayout and compare the results.

> Spark TextInput height smaller than 21px will cause memory GC problem
> ---------------------------------------------------------------------
>
>                 Key: FLEX-35055
>                 URL: https://issues.apache.org/jira/browse/FLEX-35055
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: TextInput
>    Affects Versions: Apache Flex 4.14.0, Apache Flex 4.15.0, Apache Flex 
> 4.14.1, Apache Flex 4.16.0
>         Environment: WINDOWS 10,Adobe Flash Player v21,Adobe Air v20
>            Reporter: moketing
>              Labels: GC, Memory
>         Attachments: ActiveObject.png, MemoryTest.zip
>
>
> Spark TextInput height smaller than 22px cause memory GC problem,TextInput 
> compnent  will not be gc anymore,for long time use,it will cause memory leak.
> This is a big problem for flex  application!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to