Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

H264 Encoding Memory leak with latest HD Graphics 510 driver

Iyer__Ralph
Beginner
4,409 Views

 

System Info:

Processor: Intel Celeron 3955U @2.00 GHZ

Graphics Driver: Intel HD Graphics 510 (15.40.25.4463)

Operating System: Windows 7 - 64 bit

Intel Media SDK Version: 2016 - R2

Problem:  A memory leak has been observed while using encoding (h264) frames with the the latest driver (15.40.25.4463) driver.   The current beta driver also has the memory leak (15.40.26.4474)

I tried previously released drivers and can confirm that the 15.40.10.4300 driver does not have the memory leak.  The memory leak seems be introduced in 15.40.22.4424 and still exist in newer drivers.

Steps to reproduce:

Encode a relatively input large file (> 30 GB) with the sample_encode.exe utility and observer memory usage in task manager:

sample_encode.exe h264 -i input.yuv -o output.264 -w 1920 -h 1080

Note: A large input file is used to prevent the sample_encode utility from ending quickly.

With 15.40.25.4463, the memory usage steadily increases.  On the other hand, with 15.40.10.4300 memory usage is stable.

 

0 Kudos
25 Replies
Surbhi_M_Intel
Employee
3,634 Views

Hi Ralph, 

Thanks for reporting the issue. I will try to reproduce the issue on our systems and raise the concern to driver team. 
Will keep you posted. 

Thanks,
Surbhi

0 Kudos
Peter_B_7
Beginner
3,634 Views

Hello,

we can also confirm a memory leak on Skylake CPU (i5-6500) with driver version 15.40.14.4352. While we noticed the leak in our own software, we just tried the reproducer given by Ralph and can also observe a leak.

For our own software (encoding a live 1080p60 stream) the leak is around 20 kbyte/s. We observe the leak for H264 as well as for MPEG2 encoding (Ralph's reproducer can be used to confirm the issue for MPEG2 encoding).

As our system is expected to be running for several days, the leak unfortunately will reach a couple of GB...

Any updates on this would greatly be appreciated.

Thanks,

Peter

 

0 Kudos
Surbhi_M_Intel
Employee
3,634 Views

Hi Ralph & Peter, 

Sorry for delayed response. I have tried on an i5 6300K, graphics adapter HDgraphics 530(same as Ralph's system should have), windows 8.1. Couldn't get my hands on the same configuration as yours but I couldn't replicate the issue. I am assuming this issue should be reproducible on this system as well. 
cmd - \Intel Media SDK Samples 2016 6.0.0.142\_bin\x64>sample_encode.exe h264 -i C:\Users\Administrator\Documents\Videos\ducks_32k
frames.yuv -o out.264 -w 1920 -h 1080 
Concatenated the ducks 1080p yuv for 32000 frames(size >90GB), memory consumption remain same throughout the session. 

Ralph - Can you confirm if you see the issue on windows 7 or a different OS version? 

Can please one of you provide snapshot of the issue like memory consumption at start of the session, middle of the session and towards the end?

Thanks,
Surbhi

 

0 Kudos
Iyer__Ralph
Beginner
3,634 Views

Hi Surbhi,

I can see this issue on Windows 7 64-bit (Embedded Standard).  

This is a memory snapshot (using Task Manager) during the test (15.40.25.4463)

Frame 1000: 59,600K, 

Frame 10000: 60,900K

Frame 19000: 62,220K

Note: When I run the same test with an older driver (15.40.10.4300), memory usage is stable

Frame 1000: 63,640K 

Frame 10000: 64,016K

Frame 19000: 63,972K

Let me know if you need anything else.

0 Kudos
Surbhi_M_Intel
Employee
3,634 Views

Hi Ralph, 

I was able to reproduce the issue and discussing this with the driver team. We are seeing better result with coming up driver on few systems but not on all. We are internally debugging this issue. Some of the folks are out of office next week which might can cause delays but I will keep you posted with progress. 

Have a good weekend.
-Surbhi

0 Kudos
Kirk_A_
Beginner
3,634 Views

Has there been any progress on a fix for this memory leak?

0 Kudos
brent_d_
Beginner
3,634 Views

Also have the same issue.

I am using video surveillance  software. Blueiris. And with these drivers, it consume 16GB of ram within 1 hour. Had to roll back to very old driver. I tried the beta drivers as well. But that still has the memory leak. Intel, please fix

0 Kudos
Surbhi_M_Intel
Employee
3,634 Views

Hi All, 

Sorry for late response. I have tested the internal build today and issue is fixed in the latest driver which isn't public yet. Will update the public version of the driver details as soon as I have it. 

Thank you for your patience. 

Thanks,
Surbhi 

0 Kudos
Bozhi_J_Intel
Employee
3,634 Views

 

I also have the same issue,could you please tell me the kit number of the driver which you have tested it?

Manny thanks!

0 Kudos
WWayn1
New Contributor I
3,627 Views

Latest driver still has same problem - also a Blue Iris user.

0 Kudos
Anna_B_Intel
Employee
3,634 Views

Hi Wayne,

What driver do you mean?

I can't reproduce memory leak with 20.19.15.4530 driver.

Best wishes,

Anna

0 Kudos
Jordan_C_
Beginner
3,634 Views

I am also having this issue. My system configuration is

Intel NUC 6I5SYH
Intel Core i5-6260U CPU
Intel Iris Graphics 540
Driver 20.19.15.4501

The leak is roughly 1 MB/s for encoding a 4K raw YUV video using hardware encoding with system memory

0 Kudos
Anna_B_Intel
Employee
3,634 Views

Hi Jordan,

Try to install 20.19.15.4530 driver.

Best wishes,

Anna

0 Kudos
Surbhi_M_Intel
Employee
3,634 Views

Update : Driver version 4531 with the fix will be available next week which will support windows 7 and 8
Current 4530 only support windows 10 operating system 

 

0 Kudos
WWayn1
New Contributor I
3,634 Views

Anna B. (Intel) wrote:

Hi Wayne,

What driver do you mean?

I can't reproduce memory leak with 20.19.15.4530 driver.

Best wishes,

Anna

Hi Anna, the install filename I used is: win64_154028.4501

 

0 Kudos
Steve_R_1
Beginner
3,634 Views

Version 4530 still seems to be leaking memory with BlueIris for me too.

Steve
 

0 Kudos
Guan_Da_H_
Beginner
3,634 Views

I can confirmed that same issue on i3-6100 HD530 with driver 20.19.15.4501 on Win10 x64 1511.

But, this issue not happened on i7-4790k HD4600 with driver 20.19.15.4501 on win10 x64 1511.

Until after update i3-6100 HD530 driver to 20.19.15.4531, the issue seem not happen again.

0 Kudos
Steve_R_1
Beginner
3,634 Views

Beta Version 4539 still seems to be leaking memory with Blue Iris. So I just turn off the h264 acceleration in Blue Iris. This is HD530 on latest Windows 10 x64 build.

 

Thx

0 Kudos
Ivan_W_1
Beginner
3,634 Views

This still happens. Intel 530. Driver 4542

0 Kudos
brent_d_
Beginner
3,499 Views

I had the massive memory leak issue (using blueiris video cam software). Rolling back to version 15.40.10.64.4300 fixed my issue.

I noticed today that my video card driver has been updated. I assume Windows update has done this. I am running Windows 10 x64.

Memory leak has now gone for me.

Details:

Intel(R) HD Graphics 530
Driver date: 7/10/2016
Driver version: 21.20.16.4534

In BlueIris now enabled HD acceleration + VideoPostproc. I have no memory leak and no system Process consuming CPU cycles

0 Kudos
Reply