Memory Leak in API Demo Fragments
ipena-spigot opened this issue · 0 comments
ipena-spigot commented
Description:
There's a memory leak in the following demo fragments:
- AdListener
- Ad targeting
- Banner sizes
- Collapsible banner ad
- Ad Preloading
Steps to reproduce:
- In API Demo App
- Open hamburger menu on the left
- Select a demo fragment:
- AdListener
- Ad targeting
- Banner sizes
- Collapsible banner ad
- Ad Preloading
- Load the appropriate ad
- Switch to a different fragment
- Check for memory leak through Android Studio Profiler:
- In android studio
- Profiler
- Analyze Memory Usage
- Select identified fragment with memory leak
- References
- Show nearest GC root only
MemoryLeak Screenshots
AdMobAdListenerFragment - MemoryLeak
AdMobAdTargettingFragment - MemoryLeak
AdMobBannerSizesFragment - MemoryLeak