High Memory usage on new install

SuperMiguel

Young grasshopper
Nov 13, 2017
47
10
Hello i just installed Blue Iris on my old gaming system, Running Windows Server 2019 Standard i9-9900k 32gb of ram and a Nvidia RTX 2600.Screen Shot 2022-06-06 at 8.20.23 AM.png
 
Does this persist after restarting the Blue Iris service?
If so, search the forum for handling a 'memory leak'.

I only see this every few months or so. A service restart has (so far) always fixed it for me.
Here's the most recent occurrence (March 15).
1654530834856.png

I've written a custom script to detect it in real time and send an emergency Pushover notification.
The script reads a log file updated by the following 'write to file action' to record the ram usage.
Macro %014 is the unformatted software used RAM. %012 is the BI server's uptime.
This action is executed by 2 action sets.
1. the Settings>Schedule tab > Execute action set each N min
2. the Status > Log tab > Status alerts > Action set (every 30 minutes)


1654530482024.png
 
One caveat. If you're using sub streams don't use hardware acceleration in Blue Iris. It can actually add to CPU utilization rather than reduce it.
 
  • Like
Reactions: looney2ns
So whenever the server starts it only uses like 10% of ram, but within few house it goes as high as 99% usage, so yeah leaking memory somewhere
 
  • Like
Reactions: sebastiantombs
I ended up creating a script to auto restart the service if it hits 7gb, and i used task scheduler to run it every 1 hour. Lets see if it helps

Looks something like this:

Code:
$ServiceName = "BlueIris"
$MemoryThresholdInMB = 7168
$Service=Get-CIMInstance Win32_Service -Filter "name = '$ServiceName'"
$ProcessID = $Service.ProcessID
$ProcessMem = Get-CIMInstance Win32_Process -Filter "ProcessId = '$ProcessID'"
$MemSizeInMB = $ProcessMem.WS/1MB
write-host $ProcessMem.WS
write-host "$MemSizeInMB : $MemoryThresholdInMB"
If ($MemSizeInMB -gt $MemoryThresholdInMB) {
  write-host "$ServiceName : $MemSizeInMB"
  Restart-Service -Name $ServiceName
  write-host "$ServiceName Restarted"
}
 
I dont have intel video card, as far as i know once you have a real video card the internal motherboard/cpu video card gets disabled.

Open up Device Manager and take a look I bet it is not disabled. It isn't in mine with a real video card...

But for kicks, remote in to your BI computer and delete both video drivers and see if the problem continues. If it doesn't, then you know it is the driver.