Are you using EventDispatcher at all? If so, are you adding listeners at each interval? Make sure they're added and removed properly or they'll get lost and mount up. It's hard to help without seeing any code. Can you give a brief example of the code that runs at each interval?
- James -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Varun Soundararajan Sent: Monday, July 09, 2007 2:51 PM To: [email protected] Subject: [Flashcoders] Re: Handle Leaks in Flash, anyone can help? Hi, can anyone give some hints on how to proceed? On 7/9/07, Varun Soundararajan <[EMAIL PROTECTED]> wrote: > > Hi Flash Champs, > > I need help regarding handle leak issue. I have a Flash > movie that parses XML from the server every 1 minute. The XML file that the > SWF parses in every 1 minute interval is around 100- 200 KB. I m seeing that > IE starts leaking handles (not sure if that is related to XML parsing, but > the XML every one minute can trigger a change in the content of the movie > (ie., what objects should be visible or if a new object needs to be created > etc) ). > > When I profiled IE process, I see a lot of "token" handle leaks > (more than 2000 handles leaks per day) ( My understanding on Token Handles: > It is a handle to a security credential. Usually when IE connects to a > server it tries to send the credentials of the logged in user. These > credentials are seen as tokens in windows.) > > Are there any documented issues regarding this? If I keep IE > open for a few days (2-3 days), Flash will cause IE to either crash, or make > the system unstable.. I have disabled all Toolbars (except Adobe PDF > toolbar).. > > I use HTTP to request XML data from Server (I think thats the only > non-remoting way to obtain data from server in Flash). There is JSP Session > ID based authentication to connect to server before running the SWF. Does > that have something to do with this? When I login to the server with > credentials, but dont launch the Flash movie, I dont have Handle Leaks, that > has led me to the conclusion that something in the flash movie could be the > trouble maker. How do I go ahead debugging? Thanks in advance. > > > Some details about the Flash Movie: > There are several Actionscript Verison 2 components in the movie all > instances of which are created at runtime using actionscript. all of my code > is in Actionscript 2 There is quite some XML parsing. There are not much > animations in the movie (the movie more has to do with parsing the XML and > representing it in the screen). Please feel free to ask more details that > are needed.. > > > Regards > Varun > -- Regards --Varun S http://mailvarun.blogspot.com /* This mail was sent using 100% recycled electrons */ _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

