5
Reply

Memory need on a bitmap stream

Archie Flink

Archie Flink

Jun 20 2011 3:51 AM
1.4k
Hello,

I have a question, what is the right/best way to free the memory. In my case, the method which I have wrote, is running in a thread and receives Bitmaps from the camera. These Bitmaps are shown in a pictuebox. So if the picturebox currently shows the bitmap it is not possible to dispose this bitmap and the reserved memory by the programm is growing all the time.

Any ideas?
(Visual Studio C# 2010 Express) 



Answers (5)