Skip to main content
October 28, 2009
質問

FLVComponent using too much memory?

  • October 28, 2009
  • 返信数 1.
  • 300 ビュー

I have built an application that plays videos from the local computer. I am using the FlvPlayback Component. If I play a number of videos in a row(program has about 70), the memory usage on my computer goes to a level where my video is getting slowed down, audio becomes choppy, etc. Has anyone experience this and what can be done? It seems that when the new video gets loaded, the cached information from the previous video does not get cleared. Could this be and is there a way to clear this out on load of the next video?

Thanks a lot for any comments on this!

このトピックへの返信は締め切られました。

返信数 1

October 29, 2009

are you closing the connections after viewing?  Videos are bytes of information and when you are not using a video  you should always close a stream, stop the video close the connection and turn all varibales into null so that the garbage collection can remove old memory.