Memory Leak
-
- Posts: 3
- Joined: Tue Feb 13, 2024 10:10 pm
Memory Leak
I'm seeing a serious memory leak in BI. The memory usage just continually increases until the system is unusable. I was running the latest version so I dropped back to 5.8.0.5, but that did not fix it. Does anyone have any insight as to how I can fix this?
Re: Memory Leak
I can tell you that I'm running BI5 v5.8.8.10 and memory usage is stable here. Have you checked that you have exempted the BI5 folders from your anti virus scans ? See Help file for details.
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
Problem ? Ask and we will try to assist, but please check the Help file.
-
- Posts: 3
- Joined: Tue Feb 13, 2024 10:10 pm
Re: Memory Leak
i solved it by deleting the database & all recordings. memory is now stable, but there is clearly a bug in bi.
Re: Memory Leak
I am having the same issue. My system is windows 11, intel cpu, nvidia gpu, 256gtb ram. If I go back to 3/2/24 version 5.8.7.11 - my ram and cpu stay stable. Anything after that it just keeps climbing. I have Intel+VPP hardware acerbation on and have tried Nvidia and Intel and none with no difference. I have to restart daily otherwise my system becomes unusable.
Re: Memory Leak
If you are using substreams then disabling hardware acceleration might actually improve cpu usage and might fix your issue? So give that a try.holmesm wrote:I am having the same issue. My system is windows 11, intel cpu, nvidia gpu, 256gtb ram. If I go back to 3/2/24 version 5.8.7.11 - my ram and cpu stay stable. Anything after that it just keeps climbing. I have Intel+VPP hardware acerbation on and have tried Nvidia and Intel and none with no difference. I have to restart daily otherwise my system becomes unusable.
Re: Memory Leak
My CPU usage is stable, it rarely goes above 15%. It's the memory usage that's the problem. I have tried disabling hardware acceleration - even after a reboot if I leave BI running, it will be using 40gb of memory after a day. It does not do that on v5.8.7.11.
Re: Memory Leak
Next step is to try disabling a cam at a time to see if it might be a cam causing the issue?
Also as far as hardware acceleration is concerned, did you also check and disable it in each cam, might need to do this if you enabled it on particular cams?
Also as far as hardware acceleration is concerned, did you also check and disable it in each cam, might need to do this if you enabled it on particular cams?
Re: Memory Leak
I have tested every scenario imaginable. Hardware acceleration off completely, disabled AI, disabled sub streams, disabled a camera at a time, disabled all but one and added one back at a time - all have the same result. The thing I haven't tried is something with the hard drive. I am moving files to see if that is anything.
Re: Memory Leak
In each cameras settings/Video Tab... Set 'Hardware decode' to 'Default'.
Then, in BI settings Camera Tab, set 'Hardware accelerated decode'.
All cameras w use this settings.
Makes it much easier to change hardware decode for all cameras.
Then, in BI settings Camera Tab, set 'Hardware accelerated decode'.
All cameras w use this settings.
Makes it much easier to change hardware decode for all cameras.
Re: Memory Leak
Thanks, that is the way I have it set up. I was just testing to see if there were cameras that didn't like the setting.
It was a last resort to figuring out this memory leak.