2
Answers

Problem with my "small" program memory usage

Matjaz

Matjaz

16y
2k
1
Hi. I created a program which will be used in educational purposes, but i've noticed that the memory usage goes up to 350MB+ (seen in task manager). The applications uses jpg,gif images from the Resource and play around 16 different .avi files through DirectX.AudioVideoPlayback. After each movie is played (the program is a quiz - after each answer a movie comes up) the memory usage of the application grows for quite some MB. When you get to the final question (16) the usage is already over 350MB. Some more info: - The movies are read from a folder - Each form is made mainly out of pictures (a lot of forms) which are taken from the Resource file. - After each movie is played i use .Dispose() on the DX and on the Form So, i'd be glad if someone could come up with an answer. I dont even know if the error is in the movies or the pictures? Anyway, thanks for the answers... Greetz, Matjaz What could be the problem
Answers (2)