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

OutOfMemoryError in awaitTimedBranchPostTask #1047

Open
dsvoronin opened this issue Feb 27, 2023 · 0 comments
Open

OutOfMemoryError in awaitTimedBranchPostTask #1047

dsvoronin opened this issue Feb 27, 2023 · 0 comments

Comments

@dsvoronin
Copy link

Describe the bug

Hello, I'm seeing OOM's from Branch sdk

Fatal Exception: java.lang.OutOfMemoryError: Failed to allocate a 32 byte allocation with 3079136 free bytes and 3006KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC.
       at java.util.concurrent.locks.AbstractQueuedSynchronizer.addWaiter(AbstractQueuedSynchronizer.java:651)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1060)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1369)
       at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:278)
       at io.branch.referral.Branch.awaitTimedBranchPostTask(Branch.java:6)
       at io.branch.referral.Branch$1.run(Branch.java:11)
       at java.lang.Thread.run(Thread.java:1012)

Do you have any idea

Steps to reproduce

Can't reproduce it. Only Crashlytics data

Expected behavior

Not failing, i guess

SDK Version

5.1.3

Make and Model

A lot of different devices, seems like not device-specific

OS

75%-12 25%-13

Additional Information/Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant