Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory Leak in Android 6 when using FFmpegMediaPlayer #149

Open
mideon opened this issue Nov 3, 2017 · 0 comments
Open

Memory Leak in Android 6 when using FFmpegMediaPlayer #149

mideon opened this issue Nov 3, 2017 · 0 comments

Comments

@mideon
Copy link

mideon commented Nov 3, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant