C#编程时,WinForm中PictureBox.Image加载大尺寸图片,显示实时照片会造成内存溢出,解决方法
pictureBox1.Image = (Bitmap)pictureBox1.Clone();
GC.Collect();
pictureBox1.Image = (Bitmap)pictureBox1.Clone();
GC.Collect();