High Memory usage on new install

SuperMiguel

Young grasshopper
Joined
Nov 13, 2017
Messages
46
Reaction score
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
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,132
Reaction score
1,240
Location
SF Bay Area
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
 

SuperMiguel

Young grasshopper
Joined
Nov 13, 2017
Messages
46
Reaction score
10
Be sure that you have done a complete fresh install of the operating system, thus removing any unneeded junk.

Also this:
Memory creeping up-BI
Yeah this is a brand new Windows 2019 install, it just has drivers, deepstack and BlueIris. I rebooted the system and now sitting at around 20%, but thats how it was yesterday and just kept on going up
 

SuperMiguel

Young grasshopper
Joined
Nov 13, 2017
Messages
46
Reaction score
10
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
 

SuperMiguel

Young grasshopper
Joined
Nov 13, 2017
Messages
46
Reaction score
10
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"
}
 

SuperMiguel

Young grasshopper
Joined
Nov 13, 2017
Messages
46
Reaction score
10
1654829827792.png

Here is my memory :( i guess the script is working, but not ideal
 

SuperMiguel

Young grasshopper
Joined
Nov 13, 2017
Messages
46
Reaction score
10
It is usually a memory leak in the intel video driver.
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.
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,869
Reaction score
48,505
Location
USA
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.
 
Top