actionscript 3 - Flash Embedded FLV Memory Leak -
i making game have several small character movieclips appear on screen randomly. there can several characters of same type, , when removed stage store them in memory pool reuse them.
these characters have several different keyframes call make them specific things, fly, land, etc. improve performance flvs made different actions , these have been embedded in timeline.
i having problem amount of memory assigned video increasing game played, though not making more instances of characters. have been researching garbage collecting video stuff find when using flvplayback component , haven't found helpful.
does have ideas?
thanks!
how memory increasing? if it's starting @ ie. 80 mb , slowy increasing ie. 140, , either staying there or decreasing 120 , again going up, there's no need worry. unfortunately that's how flash gc works. if you're not leaking memory show memory increase (and sudden bob down, gc collects trash, , again up).
however, have real memory leak, assess, you'd need post code. btw, using memory-pools great idea in games, you're doing already.
Comments
Post a Comment