Memory leak on Ubuntu 16.04
|Reported by:||Nedim||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
I'm trying to run ffmpeg on Ubuntu 16.04, libc6-dev 2.23-0ubuntu5 amd64.
There is a memory leak that is according to my tests related to pthreads. If I fully transcode video and audio process can go up to 1GB of memory usage in an hour.
Tested with following command:
ffmpeg -loglevel error -i "udp://18.104.22.168:5004?fifo_size=1000000&overrun_nonfatal=1" -ignore_unknown -sn -c:v copy -c:a copy -f null -
Valgrind with --leak-check=full --show-leak-kinds=all doesn't show too much in my opinion.
When ffmpeg is compiled with --disable-pthreads memory is stable for hours.