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 API Demo Fragments #769

Open
ipena-spigot opened this issue Nov 14, 2024 · 0 comments
Open

Memory Leak in API Demo Fragments #769

ipena-spigot opened this issue Nov 14, 2024 · 0 comments

Comments

@ipena-spigot
Copy link

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
Screenshot 2024-11-14 at 3 25 53 PM

AdMobAdTargettingFragment - MemoryLeak
Screenshot 2024-11-14 at 3 29 32 PM

AdMobBannerSizesFragment - MemoryLeak
Screenshot 2024-11-14 at 3 38 01 PM

CollapsibleBannerFragment - MemoryLeak
Screenshot 2024-11-14 at 3 48 02 PM

AdMobPreloadingAdsFragment
Screenshot 2024-11-14 at 4 01 51 PM

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