See attached example project. When loading and unloading the simple module several times, the memory use keep increasing. I used the profiler in Flex Builder (3.0.2) to see what is going wrong and the FlexModuleFactory is not garbage collected at all. On system level, this means that evere time the module is loaded, the memory use increases with about 3mb, which is never released until the application is quit. I use Flex SDK 3.3.0 and tried it with the latest Flash Player and Flash player 9.0.124. To import the project in Flex Builder, rename it to a .zip extension.
I see that the example project I tried to attach is still queued so I will try to post the example project again.
Alex,
Thanks for your reply! One question though.
Do you mean that when an object (in this case a Module) is set to null, that it's children can still exist?
I re-posted the example project because zip files can now be uploaded as it seems. I hope you can have a look at the code and maybe demonstrate a solution to this issue.
Ralf
North America
Europe, Middle East and Africa
Asia Pacific