flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "None None (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-34000) each time you drag a component wit Label in it, it couse BitmapData memory leak
Date Mon, 16 Dec 2013 15:01:21 GMT
None None created FLEX-34000:
--------------------------------

             Summary: each time you drag a component wit Label in it, it couse BitmapData
memory leak
                 Key: FLEX-34000
                 URL: https://issues.apache.org/jira/browse/FLEX-34000
             Project: Apache Flex
          Issue Type: Bug
          Components: Spark: Label
    Affects Versions: Adobe Flex SDK Next
         Environment: Windows 7 64-bit, FlasDevelop 4.4.4, FlashPlayer 11.8
            Reporter: None None


Lately i started to testing my application with Adobe Scout and it turns out i got a memory
leak in dragable panel. Which is a spark Panel with added functionality to drag it. And now
when i drag it Adoby Scout shows tat the memory is going up when I move the spark Panel.

After fatter investigation it turns out that memory is caused by 
"rendering FTE Text"
and the memory is allocated to Bitmap > Other Bitmap Memory and is not Garbage Collected.

Solution yo dis was to set

cacheAsBitmap = true;

to all Labels used in the Panel

or set cacheAsBitmap = true to the whole Panel before i started to drag it and turn that of
when i stooped drag.

But when i look at the code i got also masked list. And when i change the size of mask to
show whole list all the itemRenderers with Label in side them cause the memory going up also.
Also the Labels in the Button component.

So i gues this is a major FTE leak.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message