Let's talk about Flex, AIR, ActionScript, ColdFusion and more    

RemoteObject still causes memory leak !!


I reported about this at Flex 3.2.
To use and discard RemoteObject causes memory leak.

You know, it's deferred...

So, I tested this at Flex 4 (revision 13101).

It still causes memory leak !!

I guess "deferred" status has the risk called "forgot".

I reported this again.
To use and discard RemoteObject causes memory leak at Flex 4.

Please fix this, Adobe!!


Comments
lwz7512's Gravatar personally speaking, the RemoteObject should not be created many time, because it's meaningless, and waste resources, and violate the object reuse principal, so resulting memory leak!
# Posted By lwz7512 | 12/27/09 3:36 AM
Thierry's Gravatar Hi,

I found memory leak in the NetConnection object, as RemoteObject relies on NetConnection maybe this is the same problem.
But as i read your workaround and the comment below, it seems that if you reuse the same object you do not have memory leak again, could you confirm that ? With the NetConnection the problem exists with or without reuse (on linux, doesn't test on windows for the moment).

http://bugs.adobe.com/jira/browse/SDK-24820
# Posted By Thierry | 12/27/09 10:56 AM
BlogCFC was created by Raymond Camden. This blog is running version 5.5.005.