Increasing usage of RAM memory

Discussions related to the 1.36.x series of ZoneMinder
mendozaLt
Posts: 20
Joined: Wed Jul 13, 2022 3:05 pm

Re: Increasing usage of RAM memory

Post 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 1347 times
image_2022-11-20_190107486.png
image_2022-11-20_190107486.png (26.6 KiB) Viewed 1347 times
:cry: :cry: :( :(
mendozaLt
Posts: 20
Joined: Wed Jul 13, 2022 3:05 pm

Re: Increasing usage of RAM memory

Post 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 1347 times
image_2022-11-20_191337368.png
image_2022-11-20_191337368.png (23.63 KiB) Viewed 1347 times
mendozaLt
Posts: 20
Joined: Wed Jul 13, 2022 3:05 pm

Re: Increasing usage of RAM memory

Post 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 1274 times
image_2022-12-05_172947816.png
image_2022-12-05_172947816.png (19.29 KiB) Viewed 1274 times
User avatar
iconnor
Posts: 2880
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Increasing usage of RAM memory

Post 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.
mendozaLt
Posts: 20
Joined: Wed Jul 13, 2022 3:05 pm

Re: Increasing usage of RAM memory

Post 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:
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Increasing usage of RAM memory

Post by Magic919 »

Might be in your camera settings menu.
-
mendozaLt
Posts: 20
Joined: Wed Jul 13, 2022 3:05 pm

Re: Increasing usage of RAM memory

Post 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 1232 times
JasonBorn
Posts: 37
Joined: Fri Jan 08, 2021 5:31 pm

Re: Increasing usage of RAM memory

Post 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?
Post Reply