-
Notifications
You must be signed in to change notification settings - Fork 17
Kernel: Out of memory #8
Comments
I am also noticing many ERROR:camera:Exception occured: timed out Trying to reconnect the camera stream. It always reconnects successfully, but continues to occur once every 10 seconds to sometimes once every 10 minutes. I am also noticing periodic ERROR:libav.h264:error while decoding MB 109 33, bytestream -16 but those are few and far between. |
@jdillenkofer You can replicate this issue when you open two concurrent streams on the same host and cancel loading one of them. |
@jdillenkofer See below for ERROR:Exception details: Exception in thread CameraThread: File "/camera_proxy/src/baichuan_control_layer.py", line 178, in recv_packet |
@jdillenkofer Directly after the Exception the additional following errors are thrown upon attempt to reconnect: |
ERROR:libav.h264:missing picture in access unit with size 40000 |
I don't know yet what those libav errors are, i have them too. But I found and fixed the memory leak. The problem was that i didn't remove the frame_callback from the decoder |
Upon running the server and streaming/recording one camera for 10 minutes the server process crashes due to running out of memory. Upon reviewing the logs I am seeing the python3 main.py process incrementally grows by 200-700MB of memory until the process kills due to running out of system memory. Any thoughts?
kernel: [13104.512298] Out of memory: Killed process 52834 (python3) total-vm:14380312kB, anon-rss:13377752kB, file-rss:0kB, shmem-rss:0kB, UID:1000 pgtables:27244kB oom_score_adj:0
The text was updated successfully, but these errors were encountered: