Menu Close

when I create a bitmap from the OnFrameBitmap event, the app crashes after a few seconds

< Back

At 30 fps the bitmaps are created too quickly, the garbage collector does have the time to free them fast enough.
Invoke GC.Collect(); in this event to free all the previous bitmaps.