[Flashcoders] Memory leaks using XML in Flash Lite 3

2009-08-13 Thread Jim Lafser
I've been fighting memory leaks. I've narrowed it down to use of XML class, but only if I actually parse the data. Using onData doesn't leak, onLoad leaks, parseXML leaks and new XML(str) leaks.   Any Ideas?   Thanks ___ Flashcoders mailing list Flas

Re: [Flashcoders] Memory Leaks

2007-05-09 Thread Joshua Sera
Look into the BitmapData memory leak issue. http://www.gskinner.com/blog/archives/2005/10/major_flash_pla.html Failing that, look for circular references, or unused objects that you never delete. --- Michael Trim <[EMAIL PROTECTED]> wrote: > Hi Flashcoders, > > What techniques do list members

Re: [Flashcoders] Memory Leaks

2007-05-09 Thread Carl Welch
Use "while" instead of "for" loop statements. "for" will eat your resources, big time. --Carl On 5/9/07, ben gomez farrell <[EMAIL PROTECTED]> wrote: Usually I just track them down, figure out where my setInterval calls are and try to plot out in what situations they aren't being cleared. You

Re: [Flashcoders] Memory Leaks

2007-05-09 Thread ben gomez farrell
Usually I just track them down, figure out where my setInterval calls are and try to plot out in what situations they aren't being cleared. You could also put some trace calls in the classes or methods you think are clearing, and if it stops tracing then you know it's gone from memory. Addition

[Flashcoders] Memory Leaks

2007-05-09 Thread Michael Trim
Hi Flashcoders, What techniques do list members use for tracking down memory leaks in AS2? It's a problem with repetitive functions called by setInterval events. It's slow and cumulative but if you leave it on you can see the PF and Mem Usage, creep up. Can anyone out there share any of their