标签:sharpdx

  • SharpDX应用程序中的内存泄漏 - c#

    时间:2020-8-10

    此代码每100毫秒运行一次。内存使用量一直在增加,直到达到1.5 GB,然后崩溃。 void takeScreenShot() { Surface s; s = CaptureScreen(); pictureBox1.Image = new Bitmap(Surface.ToStream(s, ImageFileFormat.Bmp)); s.Dispos […]