Motion - Bug Report 2014x 12x 10x 212122
You are here: Foswiki>Motion Web>BugReports>BugReport2014x12x10x212122 (10 Dec 2014, ChristopherStein)Edit Attach

BUG: Memory usage of motion is extremly high if Netcam is in use - Raspberry Pi 512MB

As mentioned above, motion uses every few seconds more Memory, until it gets killed because of a "out of memory" message in syslog. I can see the memory usage getting more and more with the terminal programm htop. It only happens with a netcam attached - a usb webcam works fine and only uses 70MB of RAM when motion is detected. With the netcam, the memory usage goes up until RAM and swap are totally full - without motion. Just a still image. It doesnt seem to be a problem with the netcam_http option, because I tried all options but nothing helped. I have a *.conf file for both cameras and have the important settings in them configured. Hardware is a Raspberry Pi with 512MB RAM - this shouldnt be a problem.

Here ar my config files:





Motion version: 3.2.12
ffmpeg version:  
Shared libraries: ffmpeg, mysql, postgresql
Server OS: Rasbian 3.12.34+
-- ChristopherStein - 10 Dec 2014

Follow up

Fix record

BugReportForm edit

TopicTitle Memory usage of motion is extremly high if Netcam is in use - Raspberry Pi 512MB
BugStatus New
SubmittedBy WikiGuest
I Attachment Action Size Date Who Comment
motion.confconf motion.conf manage 23 K 10 Dec 2014 - 21:32 UnknownUser  
thread1.confconf thread1.conf manage 523 bytes 10 Dec 2014 - 21:33 UnknownUser  
thread2.confconf thread2.conf manage 80 bytes 10 Dec 2014 - 21:33 UnknownUser  
Topic revision: r1 - 10 Dec 2014, ChristopherStein
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.