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:
$ServiceName = "BlueIris"
$MemoryThresholdInMB = 7168
$Service=Get-CIMInstance Win32_Service -Filter "name =...