java.lang.OutOfMemoryError: int[] of length 1572703656 exceeds the VM limit(Heap Size=12524KB, Allocated=6275KB)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Unknown author, 1 year ago
int[] of length 1572703656 exceeds the VM limit(Heap Size=12524KB, Allocated=6275KB)
via Stack Overflow by Prashant
, 1 week ago
int[] of length 1674283432 exceeds the VM limit
java.lang.OutOfMemoryError: int[] of length 1572703656 exceeds the VM limit(Heap Size=12524KB, Allocated=6275KB)
at android.util.ArrayMap.allocArrays(ArrayMap.java:196)
at android.util.ArrayMap.ensureCapacity(ArrayMap.java:307)
at android.os.Bundle.unparcel(Bundle.java:247)
at android.os.Bundle.getString(Bundle.java:1118)
at com.google.firebase.messaging.FirebaseMessagingService.b(Unknown Source)
at com.google.firebase.messaging.FirebaseMessagingService.b(Unknown Source)
at com.google.firebase.iid.e.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:864)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.