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 1803 times
image_2022-11-20_190107486.png
image_2022-11-20_190107486.png (26.6 KiB) Viewed 1803 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 1803 times
image_2022-11-20_191337368.png
image_2022-11-20_191337368.png (23.63 KiB) Viewed 1803 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 1730 times
image_2022-12-05_172947816.png
image_2022-12-05_172947816.png (19.29 KiB) Viewed 1730 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 1688 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?