[FFmpeg-trac] #6212(undetermined:new): Memory leak on Ubuntu 16.04

FFmpeg trac at avcodec.org
Thu Mar 2 12:59:04 EET 2017

#6212: Memory leak on Ubuntu 16.04
             Reporter:  alqemyst     |                     Type:  defect
               Status:  new          |                 Priority:  critical
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
 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
 -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

Ticket URL: <https://trac.ffmpeg.org/ticket/6212>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list