AppLovin / AppLovin-MAX-SDK-Android

Other
233 stars 104 forks source link

Facebook SDK Integration Memory Leak #745

Closed ipena-spigot closed 1 week ago

ipena-spigot commented 2 weeks ago

MAX SDK Version

13.0.1

Device/Platform Info

Pixel 4 XL - Android 13

Current Behavior

Android Studio Profiler tool detects memory leaks after rendering the following Ad format when using Facebook SDK 6.18.0.1:

This is preventing Activities from getting garbage collected and ultimately causing ANRs and crashes

Expected Behavior

Resources / references should be released such that no memory leaks occur

How to Reproduce

Mrec

Steps for: Check for memory leak with Android Studio***

Reproducible in the demo app?

Yes

Additional Info

Native Facebook SDK 6.18.0.1 Memory Leak: Screenshot 2024-11-05 at 2 16 25 PM

mattn02 commented 1 week ago

Hi @ipena-spigot - I was able to reproduce this memory leak and it is caused by Facebook's SDK with their MediaView. The same memory leak can be reproduced in their sample app. Could you please report it to the Meta Audience Network team? Thanks!