[FFmpeg-trac] #11629(ffmpeg:new): Memory Leak in FFmpeg During Extended Processing
FFmpeg
trac at avcodec.org
Tue Jun 10 14:50:29 EEST 2025
#11629: Memory Leak in FFmpeg During Extended Processing
-------------------------------------+-------------------------------------
Reporter: mg3242 | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: ffmpeg
Version: git-master | Resolution:
Keywords: | Blocked By:
leak,vaapi,24/7 transcoding |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by mg3242):
i cant say if it does not free the a resource, as i only see ffmpeg
consume more and more memory until it runs out of it. until it runs out of
ram, it performs as designed. i am using now ASAN to document the leak.
for some reason it did not write it as a file with this parameters:
ASAN_OPTIONS=log_path=/home/user/ffmpeg_asan,detect_leaks=1
but now i am running it in the terminal to get an output directly in the
terminal.
Replying to [comment:1 mkver]:
> Try ASAN instead of Valgrind. It has way better performance.
> You should also be more explicit about what you mean by leaking: Does it
mean that ffmpeg consumes ever more memory until it runs out of it? Or
that it really forgets to free a resource (the former is possible without
the latter)?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11629#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list