Open apastel opened 7 years ago
I believe you're running out of memory.
Yes, I am. I was wondering if you were experiencing this issue as well or if it was just a personal problem with my hardware (1 GB RAM), and/or if you had any suggestions, or if it's possible to increase the memory allocated to motioneye / python.
I don't think there's any tweak that will make it work. I don't have media files larger than a few tens of megabytes so I never encountered this issue myself. But it's understandable, given the overhead that python introduces when it comes to memory (or CPU, for that matter), to experience out-of-memory errors with files of hundreds of megabytes.
Yeah, it must be related to Python because the file uploads successfully if I run gdrive upload [filename]
outside of motioneye. Might just have to do that whenever there's a MemoryError.
After using the new update that removed the 128 MB upload restriction, I get an error now in
/var/log/motioneye.log
when a video capture file greater than roughly 300 MB is attempting to upload using gdrive:Files around 250 MB seem to upload ok, but several video capture files have failed to upload and they all have been between 300 - 400 MB. I tried to inspect the python2.7 library (specifically httplib.py) but I didn't see any clues as to why I should be getting a MemoryError. I am wondering if it's just my hardware (RPi 3 running Raspbian Jessie Lite) or if everyone is having this problem.