Yeah, the SWF is definitely not caching... But I've also found something that does seem to work... instead of calling window.close(), calling window.location.refresh() clears the previously consumed memory. It's only a hack at the moment, but it seems repeatable, so if needs be I can work this into a solution.
C: -----Original Message----- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: Friday, 4 March 2011 12:08 PM To: Flash Coders List Subject: Re: [Flashcoders] IE not releasing memory after unloading Flash object One last thought, have you tried a no-cache on your swf? Best, Karl On Mar 3, 2011, at 6:07 PM, Karl DeSaulniers wrote: > My *guess* is it does not release until you > 1. close IE all together, > or > 2. Pull up the same file name and it not be the exact same file, > IE:edits were made to the file. Pulled "new" from the server. > or > 3. have more time go before letting the page change or window close. > (Not the best recommendation) > > It eventually will catch up and it will clear, but garbage > collection as a whole is an unpredictable beast. > I have always had a problem with IE caching my SWFs and almost > fighting to let them go. > Does this same behavior happen for you in other browsers? Or just IE? > Have you looked into a Javascript DOM garbage collection? > Maybe do garbage collection on the swf, the swfObject and the DOM? > Sorry not much more help. > > Best, > Karl > > On Mar 3, 2011, at 5:23 PM, Chris Foster wrote: > >> I *think* my listeners are all under control Karl - but I'm still >> interested in whether my assumption is correct or not - does >> closing the >> browser window >> Completely remove the Flash Player instance from the IE DOM and >> release >> the memory it was using? (not Flash memory, but memory used by IE, as >> visible in the Task Manager) >> >> -----Original Message----- >> From: flashcoders-boun...@chattyfig.figleaf.com >> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl >> DeSaulniers >> Sent: Friday, 4 March 2011 9:53 AM >> To: Flash Coders List >> Subject: Re: [Flashcoders] IE not releasing memory after unloading >> Flash >> object >> >> Hi Chris, >> Do you have any listeners that look for the system? IE: system >> capabilities, monitor size, mouse position, etc, or just listeners in >> general. >> Try removing the listeners before garbage collection and unload. >> >> HTH, >> Karl >> >> >> On Mar 3, 2011, at 4:45 PM, Chris Foster wrote: >> >>> Hi list, >>> >>> I'm using SWFObject 2.2 (dynamic embed) to display my Flash >>> content. In >>> IE7 on WinXP the Windows Task Manager shows that the 'iexplore' >>> process >>> isn't releasing memory after the window containing my Flash is >>> closed. >>> >>> I've tried explicitly calling SWFObject's 'cleanupSWFs' and >>> 'removeSWF' >>> methods in the 'onbeforeunload' event of my HTML page, but with no >>> change in the result. >>> >>> Is it correct to assume that (regardless of Flash memory management >>> and >>> garbage collection issues) closing the browser window should remove >>> the >>> Flash Player from the IE DOM and release the memory it was using? >>> >>> Any advice appreciated, >>> C: >>> This e-mail, including any attached files, may contain confidential >>> and privileged information for the sole use of the intended >>> recipient. Any review, use, distribution, or disclosure by others >>> is strictly prohibited. If you are not the intended recipient (or >>> authorized to receive information for the intended recipient), >>> please contact the sender by reply e-mail and delete all copies of >>> this message. >>> >>> _______________________________________________ >>> Flashcoders mailing list >>> Flashcoders@chattyfig.figleaf.com >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> Karl DeSaulniers >> Design Drumm >> http://designdrumm.com >> >> _______________________________________________ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> _______________________________________________ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Karl DeSaulniers > Design Drumm > http://designdrumm.com > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders