flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: massive memory leak in Flex
Date Thu, 02 Mar 2017 23:00:14 GMT


On 3/2/17, 2:56 PM, "Justin Mclean" <justin@classsoftware.com> wrote:

>Hi,
>
>Also I’d suggest making the timer multi shot rather than having the
>recursive callLater(BindData) call.

IMO, that's the root of the problem.  The timer makes calls to BindData
which also calls itself on each frame via CallLater.  Each Timer tick adds
another BindData loop.  The call count for BindData should be going up
constantly, resulting in flooding memory and GC.

But that's just by glancing at the code and screenshot, so I could be
wrong.

-Alex

Mime
View raw message