1 Reply Latest reply on Mar 9, 2011 12:56 AM by zjian

    Memory leak in video player




      We have built an Adobe AIR application, where I've defined a video player in the mxml part. Now in the actionscript I'm looping over a playlist in XML where I'm updating the source of the video player everytime the playlist starts the loop.


      Now what's happening is that my AIR application is occupying more and more memory with time, and after some time when it takes up lot of memory, my app crashes. How do I flush out previously loaded video from memory, so when the next video starts previous video should be flushed out from memory, how do I do that?


      Thanks in advance