Memory leak with ffmpeg #13133
Replies: 3 comments 5 replies
-
Also seeing ffmpeg slow memory leak on my end, I'm using a Jetson Nano 4GB board with Docker image For now I've added a crontab entry to restart Frigate every 24h.
I've tried simplifying the ffmpeg args to isolate the issue but with no luck. These processes leak memory:
These processes do not leak memory:
In any case it doesn't seem to be a bug in Frigate and it has been working wonderfully! It would be cool for Frigate to be able to monitor the memory/swap usage and restart ffmpeg processes if needed. Edit: ZRAM and swap usages
Edit 2:
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@XuZhen86 Have you found any solution to resolve this issue? Thanks! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I have detected some memory leak withe some Foscam cameras (C5M), for example this ffmpeg process:
After many hours working well, this ffmpeg process started to consume a lot of ram (~6Gb and growing) and then swap ... any advice on where to continue in the search for the cause of the problem?*
I'm not using virtualization, is all baremetal:
I'm using this camera through go2rtc:
and this is the camera config:
Thanks for your support!
Beta Was this translation helpful? Give feedback.
All reactions