FFmpegMediaPlayer icon indicating copy to clipboard operation
FFmpegMediaPlayer copied to clipboard

Memory Leak in Android 6 when using FFmpegMediaPlayer

Open mideon opened this issue 7 years ago • 0 comments

Hi i making IP TV app for android 6, after switching to another channel there stay about 15 - 20 Mb garbage in Native memory, it is not released after call ffmpegMedia.reset() doesnt help. Also call ffmpegMedia.stop() and then ffmpegMedia.release() doesn't help. After switching about 20 channel there 450 Mb garbage in Native Memory and app is stall.

I attach four screens from my Android Studio profiler one Second after switching channels(i make 5 switch here) second Third after call stop and then release methods third and fourth i make heap dump four

mideon avatar Nov 03 '17 13:11 mideon