blue iris suddenly a memory hog and at 100% cpu usage

danbutter

Getting the hang of it
Joined
May 28, 2017
Messages
139
Reaction score
47
Well I got to the PC tonight and it was about 30% reported by task manager and 94% by BI. Not really sure what to think here on why there is such a variance.
This is while I am trying to figure out why I can't get zone crossing to work. If I just have the BI interface open with nothing going on...no recording unless there is a trigger so just looking at live view of 3 cams...it is still in the high 70% and windows still says about 30%. I'll check out the driver threads even though it doesn't seem like it applies in this case. I'll start a new thread on zone crossing and why can't I get that to work.
 

James603

n3wb
Joined
Aug 7, 2017
Messages
6
Reaction score
5
While I'd tried the 21.20.16.4664 driver before, I'd installed it a different way. Following this guide to a "t" worked. Back down to ~50% without having to constantly restart.

This works however it does NOT support 8th gen CPUs


Summary of issues found and a guide on how to fix.
=========================================================================================
Symptoms:
Running BI on a fresh WIN10 PRO install with HW Acceleration enabled will show the following behavior:
  • Slowly creeping CPU usage up to 100%
  • Frequent system crash
Because of the frequent random crashes, the BI system is not workable.

Cause:
The root cause lies in a problem with the video driver when using "Intel HD hardware acceleration" in Blue Iris

Upon fresh install WIN10 PRO installs the Intel Iris Plus Graphics 650 driver version 22.20.16.4471 which causes this issue and is described on the http://www.IPCAMTALK.COM forum, search for "Memory Leak"

I have tried the following drivers from the Intel support website:

Does not work:
  • 22.20.16.4729
  • 22.20.16.4771
  • 21.20.16.4678
Solution:

Works:

  • 21.20.16.4664
The 21.20.16.4664 driver is included in the [15.45] release package and has to be installed from the win_15418.4664. zip package dated 9/16/2017.

Note: although the website tells you this is not the latest version, be sure to use this one because the latest version will not work.

The zip file can be downloaded from: Download Intel® Graphics Driver for Windows* [15.45]-

If you download the exe file or try installing using the setup.exe will an error message will be generated: "error, driver not validated for this operating system".
To solve this use the following workaround (Courtesy How-to: bypass "The driver being installed is not validated for this computer" :: Planetary Annihilation Bug Reporting! )
  • Download the ZIP version of driver package.
  • Extract the zip file somewhere easy to find, e.g your "Desktop".
  • Go to Device Manager
  • In "Display Adapters" find "Intel(R) HD Graphics"
  • Right click on it and go to "Properties"
  • Now new window should appear.
  • Click "Driver" tab
  • Then click "Update Driver..." button.
  • A new window will appear.
  • Now click on "Browse my computer for driver software"
  • It's will show you next page.
  • WARNING: DO NOT click on "Browse" here! Ignore this form!
  • Click on "Let me pick from a list of device drivers on my computer"
  • In this window click on "Have Disk..." button.
  • A window pop's up to find the driver
  • Navigate to the extracted driver folder
  • Point to the "Graphics" sub-folder
  • Select the Intel® Iris™ Plus Graphics 650 Driver found in the extracted zip file
  • Clicking next will update the driver. (Screen will flicker several times)
  • Upon completion the Driver property page should list 21.20.16.4664 (4/21/2017)
Restart the system after update and re-check the driver version

The above listed driver and procedure works for Windows 10 PRO version 10.0.14393 Build 14393

IMPORTANT:
Win 10 has received a major update this year (Creators update, 10.0.15063 Build 15063). This update might install automatically or through the WIndows Update shortcut palced on the users desktop. When updating to this build the Display Driver is updated automatically to a non-working version (in my case to 22.20.16.4771)

Downgrading to 21.20.16.4664 (4/21/2017) following the above steps is therefore required.
 

giomania

IPCT Contributor
Joined
Jun 1, 2017
Messages
780
Reaction score
538
While I'd tried the 21.20.16.4664 driver before, I'd installed it a different way. Following this guide to a "t" worked. Back down to ~50% without having to constantly restart.
Did you stop the Blue Iris program and/or service before updating the Intel display driver?
 

mcnugget

n3wb
Joined
Feb 8, 2016
Messages
5
Reaction score
0
Very good question. And I am wondering the same.
I think we can narrow it down to the gen 7 cpu's . With my I5 , gen5 I had no issues.

Cor
For another data point... I have a 4th generation i5 with only 4gb or ram. Somewhere in the last month this happened to me. CPU seems close to normal, but suddenly my bi started escalating ram to 99%, crashing the program and then restarting via bi tools. It takes all of about 10 min to kill itself.

It has been happily running 4 cams for a couple years. The graphics driver event log shows no events in the last 9 months.
 

James603

n3wb
Joined
Aug 7, 2017
Messages
6
Reaction score
5
For another data point... I have a 4th generation i5 with only 4gb or ram. Somewhere in the last month this happened to me. CPU seems close to normal, but suddenly my bi started escalating ram to 99%, crashing the program and then restarting via bi tools. It takes all of about 10 min to kill itself.

It has been happily running 4 cams for a couple years. The graphics driver event log shows no events in the last 9 months.
What's your driver version?
 

mcnugget

n3wb
Joined
Feb 8, 2016
Messages
5
Reaction score
0
It's Intel HD 4600 rev 10.18.15.4248

4750T processor...
 
Last edited:
Joined
Jan 30, 2018
Messages
15
Reaction score
22
Switching to 21.20.16.4664 also solved my CPU/Ram issues. I was at 95%+ cpu and 35% GPU for 8 cameras and after the driver install I am steadily at 18% CPU. Ram was ballooning to 6-7GB and now I am at a constant 4GB usage. The recent fall Windows updates apparently forced graphics driver updates and that is when I stated seeing the issues. Downgrading to 21.20.16.4664 fixed everything!
 

mcnugget

n3wb
Joined
Feb 8, 2016
Messages
5
Reaction score
0
Downgrading to 21.20.16.4664 fixed everything!
Did you do anything besides the driver?

I've been trying every older driver I can get my hands on for mine,
1,stop all blue iris activity
2, stop windows from installing new drivers
3,uninstall old driver, reboot,
4install new (older)driver, reboot,
5, try again with no dice
 

Eurisko

n3wb
Joined
Dec 9, 2017
Messages
4
Reaction score
0
Going to 21.20.16.4664 fixes Blue Iris, but then Remote Desktop graphics are hosed when I try to remote into the system. It's a headless system. I've been fighting this issue now for months, I'm about to start searching for new software after using Blue Iris for a long time and loving it. I'm not sure what else to try. I have burned through all the posts on here, tried a dozen different flavors of drivers and hacked together drivers and SDK's, as well as re-installing Windows 10 from scratch. Nothing fixes it. I hate to give up Blue Iris, but at this point, the product is no longer usable for me. :(
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,897
Reaction score
21,250
Going to 21.20.16.4664 fixes Blue Iris, but then Remote Desktop graphics are hosed when I try to remote into the system. It's a headless system. I've been fighting this issue now for months, I'm about to start searching for new software after using Blue Iris for a long time and loving it. I'm not sure what else to try. I have burned through all the posts on here, tried a dozen different flavors of drivers and hacked together drivers and SDK's, as well as re-installing Windows 10 from scratch. Nothing fixes it. I hate to give up Blue Iris, but at this point, the product is no longer usable for me. :(
You can disable hardware acceleration....
 

Eurisko

n3wb
Joined
Dec 9, 2017
Messages
4
Reaction score
0
You can disable hardware acceleration....
I have disabled it in the main options, and on each camera. I have also set it for Direct to Disk. After running for 24 hours, it's CPU climbs from 8-10% CPU usage to 50%. Again, I will try anything, but I'm at the end of ideas I have to try. It would be really nice to have at least a comment from the developer on the topic.
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,897
Reaction score
21,250
It would be really nice to have at least a comment from the developer on the topic.
have you emailed support or are you expecting a live news conference on tv?
Most users here have resolved their issues by following the instructions here.....many others including myself have not seen this issue (all my systems running BI are 4th gen intel or below)...your issue may not even be related to the intel memory leak as it occurs even with HA disabled...did you reinstall windows using the microsoft media creation tool?
 

Eurisko

n3wb
Joined
Dec 9, 2017
Messages
4
Reaction score
0
have you emailed support or are you expecting a live news conference on tv?
Most users here have resolved their issues by following the instructions here.....many others including myself have not seen this issue (all my systems running BI are 4th gen intel or below)...your issue may not even be related to the intel memory leak as it occurs even with HA disabled...did you reinstall windows using the microsoft media creation tool?
Snarky comments aside, yes, I emailed support, no response. From my original post, I have re-installed windows from scratch (twice, once using the media creation tool, another using the reset system and blow out everything option in Windows). I CAN use an older driver and resolve the issue using the directions here, but then RDP sessions are hosed. So the directions on here, do NOT work for me as a result, as I must be able to RDP into this server. Worked find on my Gen 6 processor, but with Gen 7 it seems hosed no matter what I try. I'm really happy for you that you have old hardware and are not affected by the issue. Downgrading my hardware that far back isn't an option for me. You are correct, most have resolved the issue. however, many still do not have it resolved.

My point being, it's a big enough issue for enough people, you would think there would be some sort of acknowledgement from them about the issue.
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,897
Reaction score
21,250
Snarky comments aside, yes, I emailed support, no response. From my original post, I have re-installed windows from scratch (twice, once using the media creation tool, another using the reset system and blow out everything option in Windows). I CAN use an older driver and resolve the issue using the directions here, but then RDP sessions are hosed. So the directions on here, do NOT work for me as a result, as I must be able to RDP into this server. Worked find on my Gen 6 processor, but with Gen 7 it seems hosed no matter what I try. I'm really happy for you that you have old hardware and are not affected by the issue. Downgrading my hardware that far back isn't an option for me. You are correct, most have resolved the issue. however, many still do not have it resolved.

My point being, it's a big enough issue for enough people, you would think there would be some sort of acknowledgement from them about the issue.
Do you have an active support plan? nope...or did you email last night and wondering why you dont have a reply yet? you aint getting something for nothing...
I have not seen anyone with RDP issues with the old driver, you have something else going on...
lots of folks with the newer hardware have no issues following a few simple steps...
go find another vms that works for you.....let us know how that works out for ya....
 

Eurisko

n3wb
Joined
Dec 9, 2017
Messages
4
Reaction score
0
I have emailed 3 times on this issue (over several months time). My plan was active when I sent my first request in. I haven't renewed, as I haven't received a response or a solution to resolve it. To me, that's a logical coarse of action, I paid for the product, and have paid for support up till recently, expecting it to work isn't "expecting something for nothing". Why would you renew support for a product that you didn't receive the support you paid for in the first place? Why on earth would you keep paying if you didn't get it previously? I personally know others with active plans in the same boat I am. Please don't act like the "simple" steps have resolved it for all, as we know it hasn't. I really wanted to know if anyone had any suggestions or other things to try to help resolve the issue. I'm not trying to debate support plans, or your opinions. Just looking for useful things to try. I have followed the suggestions in the wiki someone posted, and all steps I can find that are laid out in the pages and pages of posts on this issue. So far, all your responses are about why I'm wrong to ask for help on the issue and how you don't have the issue and it works for most others. I'm sure it works for you, I'm sure it works for most others. I'm just looking for anything else I can try to make this product that I really like and have used for years, actually work again for me. Short of buying all new hardware, I'm open to try about anything to resolve the issue.

I would really rather use this thread to discuss the technical issue at hand, instead of hijacking it for debate on how I'm all wrong to expect my product to work or even dare to ask for help. If you wish to continue on that path, just PM me so we can spare everyone else and let this thread stay on the technical issue.

On the RDP piece, anytime I use any of the 21.x series drivers that are meant for the Gen 7 processors, I get a full screen of blocks of pink and you can see "some" text through all of it, but it makes the environment mostly unusable. If it would even work for basic navigation, I would live with that issue just to have the Blue Iris piece work. I'm open to ideas on how to get that resolved and just live with an old driver if that's what it takes. I have even tried various options on RDP, like disabling the acceleration options in Group Policy and a few other options with it to no avail. I'm considering just using VNC to access it, as that seems to work, but really goes down a path I would rather not do.

My Band-Aid currently is, I installed Process Lasso to restart the service every time it goes over 20% CPU usage, which happens pretty frequently at this point.

My motherboard is a Asus Z170M-Plus
CPU: Intel Kaby Lake, i7 7700K (not over clocked)
Windows 10 (latest flavor of cumulative updates applied)
32 Gigs of memory

This system also runs Plex Media Server as well. I have tried combinations of removing it, disabling it from using hardware acceleration as well. I also use it for a large amount of video conversions to HEVC format. None of the other products I use seem to have this issue when leveraging the Intel GPU hw features. Nor does it seem to matter if they are even installed on the machine or running when this happens on BI.

I tried all the steps listed in this wiki as well: Memory Leak: Quick Sync (Hardware Acceleration) | IP Cam Talk

Suggestions for the for the 6x/7x processors doesn't apply to my processor, it's for other flavors that have the HD 4400 GPU (think that was it). I have rolled back to just about every flavor I can find without luck.
The suggestion for the gen 8 breaks my drivers in special ways. Nothing will work correctly with that combo on the drivers I have tried it with. There may be a combination that works. I just haven't found it.

I have tried several recent flavors of Blue Iris, but haven't went back more than a handful of releases before I gave up on that path. If someone knows a specific older one to try, I am open to trying about anything.
 

pcunite

Young grasshopper
Joined
Jan 28, 2018
Messages
84
Reaction score
24
I CAN use an older driver and resolve the issue using the directions here, but then RDP sessions are hosed.
What happens when you use a driver that works, but then maybe remote control with a free VNC viewer (TightVNC)? Try that for testing.
 
Last edited:

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,897
Reaction score
21,250
I have emailed 3 times on this issue (over several months time). My plan was active when I sent my first request in. I haven't renewed, as I haven't received a response or a solution to resolve it. To me, that's a logical coarse of action, I paid for the product, and have paid for support up till recently, expecting it to work isn't "expecting something for nothing". Why would you renew support for a product that you didn't receive the support you paid for in the first place? Why on earth would you keep paying if you didn't get it previously? I personally know others with active plans in the same boat I am. Please don't act like the "simple" steps have resolved it for all, as we know it hasn't. I really wanted to know if anyone had any suggestions or other things to try to help resolve the issue. I'm not trying to debate support plans, or your opinions. Just looking for useful things to try. I have followed the suggestions in the wiki someone posted, and all steps I can find that are laid out in the pages and pages of posts on this issue. So far, all your responses are about why I'm wrong to ask for help on the issue and how you don't have the issue and it works for most others. I'm sure it works for you, I'm sure it works for most others. I'm just looking for anything else I can try to make this product that I really like and have used for years, actually work again for me. Short of buying all new hardware, I'm open to try about anything to resolve the issue.

I would really rather use this thread to discuss the technical issue at hand, instead of hijacking it for debate on how I'm all wrong to expect my product to work or even dare to ask for help. If you wish to continue on that path, just PM me so we can spare everyone else and let this thread stay on the technical issue.

On the RDP piece, anytime I use any of the 21.x series drivers that are meant for the Gen 7 processors, I get a full screen of blocks of pink and you can see "some" text through all of it, but it makes the environment mostly unusable. If it would even work for basic navigation, I would live with that issue just to have the Blue Iris piece work. I'm open to ideas on how to get that resolved and just live with an old driver if that's what it takes. I have even tried various options on RDP, like disabling the acceleration options in Group Policy and a few other options with it to no avail. I'm considering just using VNC to access it, as that seems to work, but really goes down a path I would rather not do.

My Band-Aid currently is, I installed Process Lasso to restart the service every time it goes over 20% CPU usage, which happens pretty frequently at this point.

My motherboard is a Asus Z170M-Plus
CPU: Intel Kaby Lake, i7 7700K (not over clocked)
Windows 10 (latest flavor of cumulative updates applied)
32 Gigs of memory

This system also runs Plex Media Server as well. I have tried combinations of removing it, disabling it from using hardware acceleration as well. I also use it for a large amount of video conversions to HEVC format. None of the other products I use seem to have this issue when leveraging the Intel GPU hw features. Nor does it seem to matter if they are even installed on the machine or running when this happens on BI.

I tried all the steps listed in this wiki as well: Memory Leak: Quick Sync (Hardware Acceleration) | IP Cam Talk

Suggestions for the for the 6x/7x processors doesn't apply to my processor, it's for other flavors that have the HD 4400 GPU (think that was it). I have rolled back to just about every flavor I can find without luck.
The suggestion for the gen 8 breaks my drivers in special ways. Nothing will work correctly with that combo on the drivers I have tried it with. There may be a combination that works. I just haven't found it.

I have tried several recent flavors of Blue Iris, but haven't went back more than a handful of releases before I gave up on that path. If someone knows a specific older one to try, I am open to trying about anything.
Well you are too cheap to pay for support..yes sometimes it takes time for a response...or your message gets sent to spam...the support plan is the cheapest of any vms...so go buy another vms and keep us updated on how that works out for you....like I said others with your processor have resolved the issue...
 

fishtek

n3wb
Joined
Oct 23, 2017
Messages
4
Reaction score
4
What happens when you use a driver that works, but then maybe remote control with a free VNC viewer (TightVNC)? Try that for testing.
Another thing to try and doesn't require quite as much work to get installed and ports opened etc... would be Chrome's Remote Desktop. I have had really good luck using Chrome's Remote Desktop, instead of MS's built in RDP. It is super easy to setup and if it doesn't work you can always remove it easily as well. The best part is that in addition to being able to access from any of your chrome browsers on other computers you can also pick up the Android App.

The other thing that you could try (if your up for spending a little more money :) would be to drop in an external graphics card. Wouldn't need to be a top of the line or anything fancy, just something capable but that may help alleviate the built in Intel graphics card driver issue?
 

RFM

n3wb
Joined
Sep 5, 2018
Messages
3
Reaction score
1
Location
St. Louis
I was looking for something else and found this. In case anyone is interested I'll give my two cents worth.

Blue Iris has become a very sophisticated program. Unfortunately that equates to high CPU and memory resources. But if you don't need all of the bells and whistles turn that feature off and save some resources. If you don't know what it is you probably don't need it. Pick a camera and experiment, and write it down as you go so you can restore it if it doesn't work. After making a change give BI a few minutes to settle down and don't look for immediate results.

The largest CPU savings will come by checking "Limit decoding unless required" in the Video tab of the Camera Properties box. The next big savings will come from getting the time and date from the camera and turning off the overlay in BI. And of course turn down the FPS from the camera to, at the most 12, and some cameras can even stand 10 or 8. This forum has a very good explanation of all of this at: Optimizing Blue Iris's CPU Usage | IP Cam Talk

I have Windows 10 with Intel 7700 and 32 G of ram and have BI running at 10 to 15 % and 1.5 G of ram with seven cameras and a self contained video card on the mother board. It does jump occasionally but I don't see 70 or 90 % and the web server feature seems to work just fine.
 
Top