Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Too much memory was occupied with sample_decode

David_X
Beginner
111 Views

 

Hi,

Here comes a problem related to the example sample_decode.

When the sample_decode was called to decode 1080p video stream, I found that lots of memory (about 90Mb) would be occured and when 10 streams were decoded parallel the situation would be 1Gb occured, memory consumption seems to be increasing linearity.

Is this situation abnormal ? Am I called the example without dispatching appropriately ? If there's any reasonable plan for multi-decoding in one single process to decrease the memory consumption?  that's what makes me confused.

It seems that these functions make more memory consumption than I expect :

m_pMFXAllocator->Alloc  //Alloc frames for decoder

m_pmfxDEC->Init   // MFXVideoDECODE_Init 

 

Thanks!

 

 

 

 

0 Kudos
1 Reply
Harshdeep_B_Intel
111 Views

Hi,

We have a open memory leak issue with sample_decode when initialized for multi-decode. The main reason is originally sample_decode was not designed for multi-decoding in loop. I will update with a fix/workaround soon. 

Thanks,

Reply