Memory leak when using SWFLoader in Adobe AIR <p>I'm trying to load windowed sub-application in another windowed application, The requirement is to replace one loaded application with another on user action. </p> <p>I tried the documented method of <code>unloadAndStop</code>() on the <code>swfLoader</code> in the main windowed application, but somehow during memory profiling I could see the instances of those applications were maintained in the memory even after explicitly running garbage collection.</p> <p>Where as If I make those windowed application as modules, and then try to load them using the Moduleloader things work smoothly and unloaded modules are removed from memory.</p> <p>Any one faced the same issue before ?</p>