Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-23297

Unloading SWFs does not free up memory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 3.2 (Release)
    • None
    • mx: SWFLoader
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Plays MainApplication.swf
      2. Pressing the button "Load" SWFLoader loads the file TestModule.swf
      3. Pressing the button "UnLoad" SWFLoader must unload
      Code :loader.source = "";
      loader.load();
      loader.unloadAndStop();

      But memory is not freed!!!
      4. Click again "Load", then "UnLoad" and in textarea on the right see the memory increasing all the time.

      Actual Results:
      Memory is never released despite using unloadAndStop(). Profiler shows memory constantly increasing as SWF's are loaded and unloaded. Garbage collection never cleans out old swf's.

      Expected Results:
      Upon unloading a swf I expect memory usage to drop eventually.

      Workaround (if any):
      None known.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: