motion
motion copied to clipboard
Memory issue in current master
I've been struggling to get the current master branch of motion working on Arch due to memory consumption eventually killing the device; requiring a hard reset to get things back to normal again. With around 480mb of ram, this takes roughly a day.
Here's my current config: https://gist.github.com/drewzh/bc732995782baf6e92d5 It's a fairly standard config, with RTSP setup at 3FPS at 640x320 with an on_movie_end executing a...
[send mail with /tmp (tmpfs) attachement of captured movie] --> [move to NAS device]
...both of which always complete successfully and apart from the growing memory consumption, everything seems fine, /tmp is at 0% usage.
I've always used this on_movie_end script with motion using HTTP polling, and there's never been such an issue before until I started using master for RTSP support.
Please correct me if I'm wrong, but motion isn't meant to be using this much memory right?
Best regards, Drew
This has been fixed in @Mr-Dave branch it seems :) I've been running for nearly a week now and all my issues are gone. I'll leave this issue open for visibility.