Community
cancel
Showing results for 
Search instead for 
Did you mean: 
SDeut
Beginner
26 Views

HW decoding memory leak

My program uses a pool of switchable video decoders. So I do a lot of these calls:

  MFXVideoDECODE_Init (..)
  MFXVideoDECODE_DecodeFrameAsync (..)
  MFXVideoDECODE_Close (..)

Running in software mode, everything is fine. Running with MFX_IMPL_HARDWARE_ANY init flag will result in a lost of about 30 MB per Init/Close call. This occurs only when decoding frame data. Just initializing and closing decoder seems to produce no leak.

I work with driver 15.36.18.64.4156 on HD4600 and decode AVC streams (problem does not depend on specific AVC material).

0 Kudos
3 Replies
26 Views

Hi Stephan,

Are you able to reproduce the issue using out of the box sample_decode? For example, if you run the sample_decode application for a long time, do you see the leak using HW implementation?

Can you please provide the system details - version of Media Server Studio, (I assume you are working on Windows), and a reproducer for us to debug the issue?

Thanks.

Sravanthi

SDeut
Beginner
26 Views

Thank you for feedback. It's not easily reproducible with standard samples, since it would require a number of open/close cycles.

However I already got a hint, that this is probably an issue in hardware driver, a fix will be developed.

26 Views

Hi Stephan,

Thanks for the response. Once you do find the issue/fix, it would be good if you could update us on what worked and what was the wrokaround (feel free to use the "Send Author a Message" feature on the thread).