Click here to Skip to main content
15,886,689 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Sir/Madam,

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?

Thanks
Posted
Comments
Sergey Alexandrovich Kryukov 18-Feb-13 0:20am    
Not enough information.
GC.Collect cannot help in principle. Yes, I'm 100% sure. I can explain if you want.
—SA
bbirajdar 18-Feb-13 1:17am    
Not unless you show what code you have written

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900