I am developing a Desktop application to play video files continuously from a pre-defined Directory path. I am using Windows Media Player control to play movies. My problem is, once my application started, the video files are playing very well. As the time increases, for an example after an hour continuously playing the files, my video gets strucked. Once I restar my application it is playing well. I guess it should be the problem of memory.
1. Could you please guide me what could be the exact problem, whether memory issue as I guessed or something else could be?
2. And If memory issue, is it recommended to use "GC.Collect()" method in a defined period of time?