Page 3 of 3

Re: Increasing usage of RAM memory

Posted: Sun Nov 20, 2022 6:01 pm
by mendozaLt
I had to say it :cry:

Recent update, and i am having this:
image_2022-11-20_185933968.png
image_2022-11-20_185933968.png (30.2 KiB) Viewed 3904 times
image_2022-11-20_190107486.png
image_2022-11-20_190107486.png (26.6 KiB) Viewed 3904 times
:cry: :cry: :( :(

Re: Increasing usage of RAM memory

Posted: Sun Nov 20, 2022 6:13 pm
by mendozaLt
And it takes 6 minutes after restart to go back to 98% used memory...
image_2022-11-20_190910707.png
image_2022-11-20_190910707.png (9.52 KiB) Viewed 3904 times
image_2022-11-20_191337368.png
image_2022-11-20_191337368.png (23.63 KiB) Viewed 3904 times

Re: Increasing usage of RAM memory

Posted: Mon Dec 05, 2022 4:31 pm
by mendozaLt
Lamer wrote: Sun Oct 23, 2022 1:10 pm
mendozaLt wrote: Mon Oct 03, 2022 2:52 pm Been waiting for a solution for long time :( ... but for now i just had to stop zoneminder, as i cant use it normally...
Have you tried to set "Maximum Image Buffer Size (frames)" to some value instead of 0? Actually the meaning and effect of this parameter is not quite clear to me, but setting this to 1000 (for exampe) may solve the problem. Anyway in "Buffers" menu you'll get the definite max "Estimated Ram Use" instead of "Unlimited".
I tried, this is after setting it to 500 (remember, server has 56 Gb in total, and ZoneMinder takes 43 of it...):
image_2022-12-05_172921050.png
image_2022-12-05_172921050.png (6.87 KiB) Viewed 3831 times
image_2022-12-05_172947816.png
image_2022-12-05_172947816.png (19.29 KiB) Viewed 3831 times

Re: Increasing usage of RAM memory

Posted: Mon Dec 05, 2022 5:59 pm
by iconnor
MaxImageBuffer should be roughly 2*keyframe interval. It should only be larger to deal with slow writing to disk or other temporary slowdown. So 500 is likely too high unless your stream is h264+ (very high keyframe interval).

If it is set too low, ZM will drop packets and complain.

Re: Increasing usage of RAM memory

Posted: Mon Dec 05, 2022 6:34 pm
by mendozaLt
I see... how can i know what keyframe interval is? I don't know much about it, but Isn't it like 2 or something? :roll:

Re: Increasing usage of RAM memory

Posted: Mon Dec 05, 2022 6:58 pm
by Magic919
Might be in your camera settings menu.

Re: Increasing usage of RAM memory

Posted: Tue Dec 06, 2022 5:28 am
by mendozaLt
I set it to 50, for all cameras, that does not give any positive result...
image_2022-12-06_062804773.png
image_2022-12-06_062804773.png (14.28 KiB) Viewed 3789 times

Re: Increasing usage of RAM memory

Posted: Sat Feb 04, 2023 3:33 pm
by JasonBorn
mendozaLt wrote: Tue Dec 06, 2022 5:28 am I set it to 50, for all cameras, that does not give any positive result...

image_2022-12-06_062804773.png
did you find a solution?

Re: Increasing usage of RAM memory

Posted: Wed May 28, 2025 10:44 pm
by zmaximz
Can anyone explain how it is possible? Why do I have duplicated monitors 69 using 8Gb of memory in S sleep state? It's just simple monitor with motion detection 12fps 4k. Recently I have low memory problems, sometimes, maybe after update, I'm not sure. Can't see any noticeable errors I will increase log.
Or maybe I should try 37 version...
Or it's just normal?, I added 16gb, who knows, maybe it will help. So memory hungry)
Screenshot 2025-05-29 012456.jpg
Screenshot 2025-05-29 012456.jpg (390.15 KiB) Viewed 321 times
Screenshot 2025-05-29 015038.png
Screenshot 2025-05-29 015038.png (17.88 KiB) Viewed 318 times