4 Replies Latest reply: May 22, 2009 8:49 AM by Flex harUI RSS

    Memory leak using ModuleLoader

    Ralf Eversen Community Member

      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.