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

AppLovinFullscreenActivity memory leak on Android #462

Open
WilliamsCommando opened this issue Dec 25, 2024 · 3 comments
Open

AppLovinFullscreenActivity memory leak on Android #462

WilliamsCommando opened this issue Dec 25, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@WilliamsCommando
Copy link

WilliamsCommando commented Dec 25, 2024

MAX Plugin Version

Unity - 8.0.1, Android - 13.0.1

Unity Version

2022.3.35f1

Device/Platform Info

Realmi Note 50, Android 13

Crashes/ANRs per Day

1

Percentage of Users Affected

all

First Occurrence of Crash/ANR

No, we just start use it.

Exception and Stack Trace

How to Reproduce

  1. Go ta a game
  2. Watching ads
  3. Close ads

Reproducible in the demo app?

Not Tested

Additional Info

I watching ads, and our game just crash. In logcat I see this
а.txt

ANR in com.shooterhero (com.shooterhero/com.applovin.adview.AppLovinFullscreenActivity)
PID: 21588
Reason: Input dispatching timed out (166b718 com.shooterhero/com.applovin.adview.AppLovinFullscreenActivity (server) is not responding. Waited 5001ms for MotionEvent)
Parent: com.shooterhero/com.applovin.adview.AppLovinFullscreenActivity

Then I use Analyze Memory Usage and see Leaks "AppLovinFullscreenActivity"
image

@WilliamsCommando WilliamsCommando added the bug Something isn't working label Dec 25, 2024
@Lorenzo45 Lorenzo45 self-assigned this Jan 10, 2025
@Lorenzo45
Copy link
Contributor

Hey @WilliamsCommando - thanks for reaching out.

Could you share the ANR main thread stack trace? You can retrieve it by:

  1. Run command adb bugreport ./bugreport.zip
  2. Get the ANR report from FS/data/anr/ in the unzipped bugreport.zip

As for the memory leak - it's possible the memory leak is just temporary. If you wait 1-2 minutes after the ad is closed, force garbage collection, then do another heap dump, is the memory leak still there?

@WilliamsCommando
Copy link
Author

Here we go

anr_2024-12-25-16-46-43-100.txt

@WilliamsCommando
Copy link
Author

@Lorenzo45 I'm just reminding of myself...
I think its same problem: #463

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants