- Posts: 13
- Joined: Fri May 04, 2018 1:30 am
- Real Name: Zicheng Wang
HI Zicheng,
Can you please describe your use-case for this scenario? ie Capture or Playback, update interval, number of frames, video display mode, etc.
In the Bgra32VideoFrame class, there is large allocation of unmanaged memory. You could try calling GC.AddMemoryPressure to trigger the GC to Dispose of the class earlier.
https://msdn.microsoft.com/en-us/librar ... ssure.aspx
Please let me know if this helps.
Kind Regards
Cameron Nichols