High Memory Pressure

I grabbed a cheap, entry level M1 Mac mini to take over for my aging 2012 mini. I've noticed that after a few weeks, I start to get high memory pressure indications when I view my cameras from the SS web GUI. A restart addresses things, of course. Just wondering if the latest OS has an issue, if this is simply an issue with SS and 8GB of RAM. The M1 mini isn't doing much else of meaningful value, it sits in a rack, basic file serving and SS, mostly.

Comments

  • This is probably a result of the meagre amount of RAM in this system. After a fresh reboot, it could be that there is just enough RAM to keep things running smoothly, but after a few weeks the usage builds up to a level that causes problems. It could be that there are memory leaks in some system processes that build up over time. And while we have extensively checked for memory leaks in SecuritySpy, it's also possible that some small ones remain that are undetectable on other systems with more RAM. My suggestion here would be to set your Mac to automatically reboot once per week - this should keep things running smoothly. You can set this reboot schedule (at 1AM every Saturday) with the following command in Terminal:

    sudo pmset repeat restart S 01:00:00

    Make sure that your Mac is set to auto-login, and SecuritySpy is set to automatically start upon login.

  • I kinda figured it was going cheap on the RAM, so thanks for also helping to suggest that. A weekly reboot has certainly been a thought. Need to think about this a bit, there are other schedules that go on during the night.