Constantly fluctuating RAM usage
0kashi opened this issue · 1 comments
Affected Version
3.9.5.0
Describe the bug
Not sure this is a bug, but not expected behavior. I noticed that while recording memory consumption slowly increases until it's maxed out then it will drop when storage management runs, then again it continues to increase again until storage management runs again. Creating a sawtooth pattern. I have attached a screenshot.
What is causing this? Is this normal behavior?
Steps To Reproduce
Let ispy run with cameras recording and turn on storage management
Expected behavior
I'd expect RAM usage to be more/less constant over time. Not to have a sawtooth pattern. I'd expect the container to be using the attached PersistentVolumes rather than RAM.
Reproduction rate
As long as I have been running storage management.
Screenshots
Host System Information (where ispy agent is running/hosted):
Proxmox VM, Ubuntu Server 20.04
not a bug unless it runs out of memory and crashes- it's just the way .net handles memory pressure and cpu load
https://docs.microsoft.com/en-us/dotnet/standard/garbage-collection/fundamentals
if it does run out of memory you might have too many clients/ cameras connected to it.