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

Fatal Exception: java.lang.OutOfMemoryError #719

Closed
lorenc-tomasz opened this issue Dec 21, 2020 · 1 comment
Closed

Fatal Exception: java.lang.OutOfMemoryError #719

lorenc-tomasz opened this issue Dec 21, 2020 · 1 comment

Comments

@lorenc-tomasz
Copy link

Fatal Exception: java.lang.OutOfMemoryError: Failed to allocate a 2312 byte allocation with 2284928 free bytes and 2231KB until OOM, target footprint 268435456, growth limit 268435456; failed due to fragmentation (largest possible contiguous allocation 49020928 bytes)
at java.util.Arrays.copyOf(Arrays.java:3257)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:649)
at java.lang.StringBuilder.append(StringBuilder.java:203)
at org.json.JSONStringer.string(JSONStringer.java:354)
at org.json.JSONStringer.value(JSONStringer.java:261)
at org.json.JSONObject.writeTo(JSONObject.java:733)
at org.json.JSONStringer.value(JSONStringer.java:246)
at org.json.JSONObject.writeTo(JSONObject.java:733)
at org.json.JSONObject.toString(JSONObject.java:701)
at com.mixpanel.android.mpmetrics.MPDbAdapter.addJSON(MPDbAdapter.java:322)
at com.mixpanel.android.mpmetrics.AnalyticsMessages$Worker$AnalyticsMessageHandler.handleMessage(AnalyticsMessages.java:429)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.os.HandlerThread.run(HandlerThread.java:67)

@zihejia
Copy link
Contributor

zihejia commented Apr 29, 2021

fixed in v5.9.0. Thanks for bringing it up. Please feel free to reopen if the problem still exists.

@zihejia zihejia closed this as completed Apr 29, 2021
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

2 participants