BI memory leak on new machine

bitNine

n3wb
Joined
Jan 4, 2017
Messages
28
Reaction score
5
Yesterday I moved BI to a dedicated machine with an i5-6500 and 8GB RAM. Today I noticed some gaps in the timeline that I hadn't noticed before the move. I noticed in the BI log that it says it recovered from an unexpected shutdown, so I went into the event viewer and looked at the system logs.

Several times today (every few hours) I see a warning in the system log, event ID 2004, Resource-Exhaustion-Detector, with a message saying, "Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: BlueIris.exe (4256) consumed 32610660352 bytes, svchost.exe (1076) consumed 70230016 bytes, and dwm.exe (2660) consumed 47013888 bytes."

Checking the details of the event, I see the following:

<SystemInfo>
<SystemCommitLimit>34235129856</SystemCommitLimit>
<SystemCommitCharge>34170466304</SystemCommitCharge>
<ProcessCommitCharge>33175711744</ProcessCommitCharge>
<PagedPoolUsage>166985728</PagedPoolUsage>
<PhysicalMemorySize>8465326080</PhysicalMemorySize>
<PhysicalMemoryUsage>8044212224</PhysicalMemoryUsage>
<NonPagedPoolUsage>273448960</NonPagedPoolUsage>
<Processes>64</Processes>
</SystemInfo>

and

<Process_1>
<Name>BlueIris.exe</Name>
<ID>4256</ID>
<CreationTime>2017-01-12T14:02:11.096272800Z</CreationTime>
<CommitCharge>32610660352</CommitCharge>
<HandleCount>757</HandleCount>
<Version>4.4.9.8</Version>
<TypeInfo>65</TypeInfo>
</Process_1>

Clearly I've run into a memory leak. Starting the service fresh, the system is using around 2.5GB. Watching task manager, it increases slowly but surely. I moved the blueiris folder and imported the config from the other machine, then enabled hardware encoding, but not much other than that has changed. I didn't have this issue on my other machine. It's running as a service on this new box whereas on my the old machine it was just standalone. Of course, watching the blueiris.exe process, memory just keeps going up and up and up and up and up, very consistently. About 2-4MB every second. Also, the BI client is not running.

One other thing I notice is that several times today blueiris.exe creates an Information entry to the system log with Application Popup source, that says, "Application popup: BlueIris.exe - EXCEPTION : Integer division by zero." It happens within a couple minutes after the service restarts.

I'm not really sure how to troubleshoot this one before I contact Ken for support. Any idea what I could check to figure this one out?
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,905
Reaction score
21,279
This is a known issue with the intel driver for skylake...search memory leak and you will find the thread with the proper driver..its is not a blue iris issue...the driver leaks memory when it decodes h.264
 

bitNine

n3wb
Joined
Jan 4, 2017
Messages
28
Reaction score
5
This is a known issue with the intel driver for skylake...search memory leak and you will find the thread with the proper driver..its is not a blue iris issue...the driver leaks memory when it decodes h.264
Thanks, fenderman. You are a wealth of knowledge, and I greatly appreciate it!
 

bitNine

n3wb
Joined
Jan 4, 2017
Messages
28
Reaction score
5
Works like a charm now. Had to get around Intel's lack of desire to install the latest driver, and Dell's inability to provide the latest driver, but now running driver version 21.20.16.4542 for the Intel HD 530, it's perfect. Thanks again.
 
Top