MediaFrameReader Memory Leak?
Ben Eberly
1
Reputation point
I'm following the guide linked below very closely, and have tried all sorts of usings and disposes, but I can't seem to stop massive GC pressure from occurring as soon as I run .CreateFrameReaderAsync() — even if I don't set any handlers for the FrameArrived event or call .TryAcquireLatestFrame(). The GC is running constantly and if it doesn't, memory consumption is at several GBs in seconds. Is there something I am missing? Or is there something wrong with the MediaFrameReader class?
Sign in to answer