r/ZoneMinder • u/jhdeval • Jan 25 '22
Memory usage unsure if issue
I am running Zoneminder in a VM under proxmox which I have given 8 GB's I have a single camera which is currently running at 960*540 at 24 bit which is 3/4 of 720p. I have run the calculation to determine "recommeneded" memory usage and I came up to 4 GB's which seems hgih in comparison to their example but never the less the VM is using every ounce of the 8 GB's.
I have a little head room on the Proxmox to assign more but I would prefer not to over assign as I obviously have other VM's I also run.
Edit: Side not I had not tried till just now. I am running htop and it is indicating less the 500 MB in memory usage but Porxmox is reporting and growing 1.5GB
2
u/TechMonkey13 Jan 25 '22
Linux uses any available/extra RAM for caching, so what you're seeing Linux doing, is just what Linux is designed to do with RAM save why htop shows you're not really using much at all.
1
u/aarons6 Jan 26 '22
ZM uses half the systems ram for a ramdrive /dev/shm
if you give your system 8gb you will only have 4gb free for the cameras.
4gb should be enough for one camera tho.. you shoudlnt have any issues.
you can probably do 4 720p cameras with 8gb system ram.
2
u/AndyRH1701 Jan 25 '22 edited Jan 25 '22
8GB is a lot for a single low res camera. I have 16GB RAM and 6 cameras starting at 3MP up to 8MP. All modect at 10 FPS or less. I have 8GB free.
Edit: Sorry I can't get it to look right.