Application freezes after few hours of playback

Viewed 105

Have developed application with ExoPlayer. Which works fine for shorter period. After few hours of continuous playback, app freezes. Not even the back button. Don't see any logs after the freeze in the logcat of androidStudio.

I used android profiler to check with the memory. I can see native memory is increasing. The app size is 45MB. Native memory increased from 120MB to 390MB. I don't know where does this memory is keep on adding.

There is only one activity and a fragment is there in my app. Live content will be playing on start.

Don't know how to fix this. Not even the logs are helping. Sometimes app crashes. But I don't see any logs.

0 Answers
Related